mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-05 22:28:54 +01: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
|
||||
|
||||
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:
|
||||
self.pending_edus_by_dest.setdefault(destination, []).append(edu)
|
||||
|
||||
|
@ -228,7 +230,6 @@ class TransactionQueue(object):
|
|||
)
|
||||
|
||||
pending_edus.extend(device_message_edus)
|
||||
logger.info("Sending presence: %r", pending_presence)
|
||||
if pending_presence:
|
||||
pending_edus.append(
|
||||
Edu(
|
||||
|
|
Loading…
Reference in a new issue