mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 14:36:04 -04:00
update_membership
declaration: now always returns an event id. (#7809)
This commit is contained in:
parent
8ca39bd2c3
commit
53ee214f2f
4 changed files with 8 additions and 9 deletions
|
@ -217,10 +217,8 @@ class RoomStateEventRestServlet(TransactionRestServlet):
|
|||
)
|
||||
event_id = event.event_id
|
||||
|
||||
ret = {} # type: dict
|
||||
if event_id:
|
||||
set_tag("event_id", event_id)
|
||||
ret = {"event_id": event_id}
|
||||
set_tag("event_id", event_id)
|
||||
ret = {"event_id": event_id}
|
||||
return 200, ret
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue