mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 11:34:48 -04:00
Correctly return new token when returning events. Serialize events correctly.
This commit is contained in:
parent
114984a236
commit
01f089d9fb
5 changed files with 25 additions and 9 deletions
|
@ -15,6 +15,7 @@
|
|||
|
||||
from synapse.api.constants import Membership
|
||||
from synapse.api.events.room import RoomMemberEvent
|
||||
from synapse.api.streams.event import EventsStreamData
|
||||
|
||||
from twisted.internet import defer
|
||||
from twisted.internet import reactor
|
||||
|
@ -66,7 +67,7 @@ class Notifier(object):
|
|||
self._notify_and_callback(
|
||||
user_id=user_id,
|
||||
event_data=event.get_dict(),
|
||||
stream_type=event.type,
|
||||
stream_type=EventsStreamData.EVENT_TYPE,
|
||||
store_id=store_id)
|
||||
|
||||
def on_new_user_event(self, user_id, event_data, stream_type, store_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue