Merge pull request #2109 from matrix-org/erikj/send_queue_fix

Fix up federation SendQueue and document types
This commit is contained in:
Erik Johnston 2017-04-10 13:09:25 +01:00 committed by GitHub
commit efcb6db688
3 changed files with 246 additions and 93 deletions

View file

@ -98,8 +98,8 @@ ToDeviceStreamRow = namedtuple("ToDeviceStreamRow", (
"entity", # str
))
FederationStreamRow = namedtuple("FederationStreamRow", (
"type", # str
"data", # dict
"type", # str, the type of data as defined in the BaseFederationRows
"data", # dict, serialization of a federation.send_queue.BaseFederationRow
))
TagAccountDataStreamRow = namedtuple("TagAccountDataStreamRow", (
"user_id", # str