mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-18 08:26:15 +00:00
fix: [chat explorer] fix protocols name list order
This commit is contained in:
parent
3faea7997c
commit
ab54924bba
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ def get_chat_protocols_meta():
|
|||
for protocol_id in get_chat_protocols():
|
||||
protocol = ChatProtocol(protocol_id)
|
||||
metas.append(protocol.get_meta(options={'icon'}))
|
||||
metas = sorted(metas, key=lambda d: d['id'])
|
||||
return metas
|
||||
|
||||
class ChatProtocol: # TODO first seen last seen ???? + nb by day ????
|
||||
|
|
Loading…
Add table
Reference in a new issue