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:
Matthew Hodgson 2018-09-20 21:21:54 +01:00 committed by GitHub
parent 23b53b4ef8
commit a2ddaa90f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

1
changelog.d/3916.feature Normal file
View file

@ -0,0 +1 @@
Always LL ourselves if we're in a room

View file

@ -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 # only apply the filtering to room members
filtered_types = [EventTypes.Member] filtered_types = [EventTypes.Member]