Get only 1 event of each kind for rooms on start

This commit is contained in:
miruka 2020-04-04 07:41:06 -04:00
parent 3a77a0288f
commit eacd7f1f3e

View File

@ -89,17 +89,27 @@ class MatrixClient(nio.AsyncClient):
http_s_url = re.compile(r"^https?://")
server_filter = {
"presence": {
"limit": 1,
},
"account_data": {
"limit": 1,
},
"room": {
"ephemeral": {
"limit": 1,
"lazy_load_members": True,
},
"state": {
"limit": 1,
"lazy_load_members": True,
},
"timeline": {
"limit": 1,
"lazy_load_members": True,
},
"account_data": {
"limit": 1,
"lazy_load_members": True,
},
},