mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-24 05:59:28 -05:00
a2cf66a94d
This PR begins work on batching up events during the creation of a room. The PR splits out the creation and sending/persisting of the events. The first three events in the creation of the room-creating the room, joining the creator to the room, and the power levels event are sent sequentially, while the subsequent events are created and collected to be sent at the end of the function. This is currently done by appending them to a list and then iterating over the list to send, the next step (after this PR) would be to send and persist the collected events as a batch. |
||
---|---|---|
.. | ||
__init__.py | ||
v1.py | ||
v2.py |