mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-07 09:11:56 +00:00
Always LL ourselves if we're in a room to simplify clients (#3916)
Should fix https://github.com/vector-im/riot-web/issues/7209
This commit is contained in:
parent
23b53b4ef8
commit
a2ddaa90f2
1
changelog.d/3916.feature
Normal file
1
changelog.d/3916.feature
Normal file
@ -0,0 +1 @@
|
||||
Always LL ourselves if we're in a room
|
@ -713,6 +713,10 @@ class SyncHandler(object):
|
||||
)
|
||||
]
|
||||
|
||||
# always make sure we LL ourselves so we know we're in the room
|
||||
# (if we are), to fix https://github.com/vector-im/riot-web/issues/7209
|
||||
types.append((EventTypes.Member, sync_config.user.to_string()))
|
||||
|
||||
# only apply the filtering to room members
|
||||
filtered_types = [EventTypes.Member]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user