mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
use access methods (duh..)
Co-Authored-By: Erik Johnston <erik@matrix.org>
This commit is contained in:
parent
7093790fbc
commit
ef20aa52eb
@ -64,7 +64,9 @@ class TransactionManager(object):
|
|||||||
keep_destination = whitelisted_homeserver(destination)
|
keep_destination = whitelisted_homeserver(destination)
|
||||||
|
|
||||||
for edu in pending_edus:
|
for edu in pending_edus:
|
||||||
span_contexts.append(extract_text_map(json.loads(edu.get_context())))
|
context = edu.get_context()
|
||||||
|
if context:
|
||||||
|
span_contexts.append(extract_text_map(json.loads(context)))
|
||||||
if keep_destination:
|
if keep_destination:
|
||||||
edu.strip_context()
|
edu.strip_context()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user