Skip to content
Snippets Groups Projects
Commit 965154d6 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Fix complete fail to do the right thing

parent 0c4a99ea
No related branches found
No related tags found
No related merge requests found
......@@ -354,7 +354,7 @@ class TransactionQueue(object):
content=content,
)
if not destination == self.server_name:
if destination == self.server_name:
logger.info("Not sending EDU to ourselves")
return
......@@ -372,6 +372,7 @@ class TransactionQueue(object):
def send_device_messages(self, destination):
if destination == self.server_name:
logger.info("Not sending device update to ourselves")
return
self._attempt_new_transaction(destination)
......
......@@ -218,6 +218,7 @@ class TypingHandler(object):
for domain in set(get_domain_from_id(u) for u in users):
if domain != self.server_name:
logger.debug("sending typing update to %s", domain)
self.federation.send_edu(
destination=domain,
edu_type="m.typing",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment