pull/2115/head
Erik Johnston 2017-04-12 10:17:10 +01:00
parent c7ddb5ef7a
commit 1745069543
1 changed files with 1 additions and 2 deletions

View File

@ -77,12 +77,11 @@ class TransactionQueue(object):
# destination -> list of tuple(edu, deferred) # destination -> list of tuple(edu, deferred)
self.pending_edus_by_dest = edus = {} self.pending_edus_by_dest = edus = {}
# Presence needs to be separate as we send single aggragate EDUs
# Map of user_id -> UserPresenceState for all the pending presence # Map of user_id -> UserPresenceState for all the pending presence
# to be sent out by user_id. Entries here get processed and put in # to be sent out by user_id. Entries here get processed and put in
# pending_presence_by_dest # pending_presence_by_dest
self.pending_presence = {} self.pending_presence = {}
# Map of destination -> user_id -> UserPresenceState of pending presence # Map of destination -> user_id -> UserPresenceState of pending presence
# to be sent to each destinations # to be sent to each destinations
self.pending_presence_by_dest = presence = {} self.pending_presence_by_dest = presence = {}