summary refs log tree commit diff
path: root/synapse/groups/groups_server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-13 10:25:29 +0100
committerErik Johnston <erik@matrix.org>2017-07-13 10:25:29 +0100
commit5bbb53580a3fc732f0e4aab49f7893bd4f7e2a43 (patch)
treecb5af82853634fb3439b76191acc144cc456dee0 /synapse/groups/groups_server.py
parentComments (diff)
downloadsynapse-5bbb53580a3fc732f0e4aab49f7893bd4f7e2a43.tar.xz
raise NotImplementedError
Diffstat (limited to 'synapse/groups/groups_server.py')
-rw-r--r--synapse/groups/groups_server.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index 83dfcd0fd4..dc9d361f57 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -463,9 +463,7 @@ class GroupsServerHandler(object):
         }
 
         if self.hs.is_mine_id(user_id):
-            groups_local = self.hs.get_groups_local_handler()
-            res = yield groups_local.on_invite(group_id, user_id, content)
-            local_attestation = None
+            raise NotImplementedError()
         else:
             local_attestation = self.attestations.create_attestation(group_id, user_id)
             content.update({
@@ -593,8 +591,7 @@ class GroupsServerHandler(object):
 
         if is_kick:
             if self.hs.is_mine_id(user_id):
-                groups_local = self.hs.get_groups_local_handler()
-                yield groups_local.user_removed_from_group(group_id, user_id, {})
+                raise NotImplementedError()
             else:
                 yield self.transport_client.remove_user_from_group_notification(
                     get_domain_from_id(user_id), group_id, user_id, {}