0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-26 14:38:18 +02:00

SYN-606: Peeking does not wake up /events

If a real user attempted to first peek into one room, and then another,
their room event stream would not be woken up for events in the later
room.
This commit is contained in:
Erik Johnston 2016-01-21 13:22:26 +00:00
parent d54005059c
commit 91a222c66d

View file

@ -403,7 +403,9 @@ class Notifier(object):
# over /events.
#
# I am sorry for what I have done.
user_id_for_stream = "_PEEKING_" + user_id_for_stream
user_id_for_stream = "_PEEKING_%s_%s" % (
explicit_room_id, user_id_for_stream
)
result = yield self.wait_for_events(
user_id_for_stream,