mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 09:59:21 -05:00
Correctly return next token
This commit is contained in:
parent
069ae2df12
commit
197d82dc07
@ -966,10 +966,11 @@ class GroupServerStore(SQLBaseStore):
|
|||||||
return next_id
|
return next_id
|
||||||
|
|
||||||
with self._group_updates_id_gen.get_next() as next_id:
|
with self._group_updates_id_gen.get_next() as next_id:
|
||||||
yield self.runInteraction(
|
res = yield self.runInteraction(
|
||||||
"register_user_group_membership",
|
"register_user_group_membership",
|
||||||
_register_user_group_membership_txn, next_id,
|
_register_user_group_membership_txn, next_id,
|
||||||
)
|
)
|
||||||
|
defer.returnValue(res)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def create_group(self, group_id, user_id, name, avatar_url, short_description,
|
def create_group(self, group_id, user_id, name, avatar_url, short_description,
|
||||||
|
Loading…
Reference in New Issue
Block a user