mirror of
https://github.com/element-hq/synapse
synced 2024-08-18 23:50:52 +00:00
Revert incorrect changes to where we send events
This commit is contained in:
parent
b2e6ee5b43
commit
857810d2dd
1 changed files with 4 additions and 3 deletions
|
@ -133,9 +133,10 @@ class BaseHandler(object):
|
|||
for k, s in context.current_state.items():
|
||||
try:
|
||||
if k[0] == EventTypes.Member:
|
||||
destinations.add(
|
||||
UserID.from_string(s.state_key).domain
|
||||
)
|
||||
if s.content["membership"] == Membership.JOIN:
|
||||
destinations.add(
|
||||
UserID.from_string(s.state_key).domain
|
||||
)
|
||||
except SynapseError:
|
||||
logger.warn(
|
||||
"Failed to get destination from event %s", s.event_id
|
||||
|
|
Loading…
Reference in a new issue