mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 15:20:38 -05:00
Add new API appservice specific public room list
This commit is contained in:
parent
194b6259c5
commit
f32fb65552
14 changed files with 371 additions and 40 deletions
|
|
@ -89,6 +89,9 @@ class ApplicationService(object):
|
|||
self.namespaces = self._check_namespaces(namespaces)
|
||||
self.id = id
|
||||
|
||||
if "|" in self.id:
|
||||
raise Exception("application service ID cannot contain '|' character")
|
||||
|
||||
# .protocols is a publicly visible field
|
||||
if protocols:
|
||||
self.protocols = set(protocols)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue