summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorLuke Barnard <lukebarnard1@users.noreply.github.com>2018-04-05 15:57:49 +0100
committerGitHub <noreply@github.com>2018-04-05 15:57:49 +0100
commite089100c6231541c446e37e157dec8feed02d283 (patch)
treea80dceb2580ab28630055ec627a82a25672b6aa4 /synapse/handlers
parentMerge pull request #3041 from matrix-org/r30_stats (diff)
parentNON NULL -> NOT NULL (diff)
downloadsynapse-e089100c6231541c446e37e157dec8feed02d283.tar.xz
Merge pull request #3045 from matrix-org/dbkr/group_joinable
Add joinability for groups
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/groups_local.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/groups_local.py b/synapse/handlers/groups_local.py
index e4d0cc8b02..5f7b0ff305 100644
--- a/synapse/handlers/groups_local.py
+++ b/synapse/handlers/groups_local.py
@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 # Copyright 2017 Vector Creations Ltd
+# Copyright 2018 New Vector Ltd
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -90,6 +91,8 @@ class GroupsLocalHandler(object):
     get_group_role = _create_rerouter("get_group_role")
     get_group_roles = _create_rerouter("get_group_roles")
 
+    set_group_join_policy = _create_rerouter("set_group_join_policy")
+
     @defer.inlineCallbacks
     def get_group_summary(self, group_id, requester_user_id):
         """Get the group summary for a group.