mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 12:30:06 +00:00
Add edu.type as part of key. Remove debug logging
This commit is contained in:
parent
52b2318777
commit
327425764e
1 changed files with 3 additions and 2 deletions
|
@ -154,7 +154,9 @@ class TransactionQueue(object):
|
||||||
return
|
return
|
||||||
|
|
||||||
if key:
|
if key:
|
||||||
self.pending_edus_keyed_by_dest.setdefault(destination, {})[key] = edu
|
self.pending_edus_keyed_by_dest.setdefault(
|
||||||
|
destination, {}
|
||||||
|
)[(edu.type, key)] = edu
|
||||||
else:
|
else:
|
||||||
self.pending_edus_by_dest.setdefault(destination, []).append(edu)
|
self.pending_edus_by_dest.setdefault(destination, []).append(edu)
|
||||||
|
|
||||||
|
@ -228,7 +230,6 @@ class TransactionQueue(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
pending_edus.extend(device_message_edus)
|
pending_edus.extend(device_message_edus)
|
||||||
logger.info("Sending presence: %r", pending_presence)
|
|
||||||
if pending_presence:
|
if pending_presence:
|
||||||
pending_edus.append(
|
pending_edus.append(
|
||||||
Edu(
|
Edu(
|
||||||
|
|
Loading…
Reference in a new issue