mirror of
https://github.com/element-hq/synapse
synced 2024-10-02 23:12:41 +00:00
Membership in timeline for better derived info
This commit is contained in:
parent
3092ab5047
commit
3539abe0aa
1 changed files with 3 additions and 7 deletions
|
@ -628,14 +628,12 @@ class SlidingSyncE2eeRestServlet(RestServlet):
|
|||
self.hs,
|
||||
{
|
||||
"room": {
|
||||
# We don't want any extra timeline data generated because it's not
|
||||
# returned by this endpoint
|
||||
"timeline": {
|
||||
"not_rooms": ["*"],
|
||||
},
|
||||
# We only care about membership events for the `device_lists`.
|
||||
# Membership will tell us whether a user has joined/left a room and
|
||||
# if there are new devices to encrypt for.
|
||||
"timeline": {
|
||||
"types": ["m.room.member"],
|
||||
},
|
||||
"state": {
|
||||
"types": ["m.room.member"],
|
||||
},
|
||||
|
@ -644,13 +642,11 @@ class SlidingSyncE2eeRestServlet(RestServlet):
|
|||
# returned by this endpoint
|
||||
"account_data": {
|
||||
"not_types": ["*"],
|
||||
"limit": 1,
|
||||
},
|
||||
# We don't want any extra presence data generated because it's not
|
||||
# returned by this endpoint
|
||||
"presence": {
|
||||
"not_types": ["*"],
|
||||
"limit": 1,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue