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. # over /events.
# #
# I am sorry for what I have done. # 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( result = yield self.wait_for_events(
user_id_for_stream, user_id_for_stream,