Get only 1 event of each kind for rooms on start
This commit is contained in:
parent
3a77a0288f
commit
eacd7f1f3e
|
@ -89,17 +89,27 @@ class MatrixClient(nio.AsyncClient):
|
||||||
http_s_url = re.compile(r"^https?://")
|
http_s_url = re.compile(r"^https?://")
|
||||||
|
|
||||||
server_filter = {
|
server_filter = {
|
||||||
|
"presence": {
|
||||||
|
"limit": 1,
|
||||||
|
},
|
||||||
|
"account_data": {
|
||||||
|
"limit": 1,
|
||||||
|
},
|
||||||
"room": {
|
"room": {
|
||||||
"ephemeral": {
|
"ephemeral": {
|
||||||
|
"limit": 1,
|
||||||
"lazy_load_members": True,
|
"lazy_load_members": True,
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
|
"limit": 1,
|
||||||
"lazy_load_members": True,
|
"lazy_load_members": True,
|
||||||
},
|
},
|
||||||
"timeline": {
|
"timeline": {
|
||||||
|
"limit": 1,
|
||||||
"lazy_load_members": True,
|
"lazy_load_members": True,
|
||||||
},
|
},
|
||||||
"account_data": {
|
"account_data": {
|
||||||
|
"limit": 1,
|
||||||
"lazy_load_members": True,
|
"lazy_load_members": True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user