mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 06:24:21 -05:00
raise NotImplementedError
This commit is contained in:
parent
26451a09eb
commit
5bbb53580a
@ -463,9 +463,7 @@ class GroupsServerHandler(object):
|
|||||||
}
|
}
|
||||||
|
|
||||||
if self.hs.is_mine_id(user_id):
|
if self.hs.is_mine_id(user_id):
|
||||||
groups_local = self.hs.get_groups_local_handler()
|
raise NotImplementedError()
|
||||||
res = yield groups_local.on_invite(group_id, user_id, content)
|
|
||||||
local_attestation = None
|
|
||||||
else:
|
else:
|
||||||
local_attestation = self.attestations.create_attestation(group_id, user_id)
|
local_attestation = self.attestations.create_attestation(group_id, user_id)
|
||||||
content.update({
|
content.update({
|
||||||
@ -593,8 +591,7 @@ class GroupsServerHandler(object):
|
|||||||
|
|
||||||
if is_kick:
|
if is_kick:
|
||||||
if self.hs.is_mine_id(user_id):
|
if self.hs.is_mine_id(user_id):
|
||||||
groups_local = self.hs.get_groups_local_handler()
|
raise NotImplementedError()
|
||||||
yield groups_local.user_removed_from_group(group_id, user_id, {})
|
|
||||||
else:
|
else:
|
||||||
yield self.transport_client.remove_user_from_group_notification(
|
yield self.transport_client.remove_user_from_group_notification(
|
||||||
get_domain_from_id(user_id), group_id, user_id, {}
|
get_domain_from_id(user_id), group_id, user_id, {}
|
||||||
|
Loading…
Reference in New Issue
Block a user