Commit 1348a741 authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

MucCapsCache: Add query for anonymity

This adds a query to determine whether a MUC is semi-anonymous or
parent e1bef611
......@@ -505,6 +505,9 @@ def is_subject_change_allowed(self, jid, affiliation):
return allowed
def is_anonymous(self, jid):
return 'muc_nonanonymous' not in self.cache[jid].features
def get_room_infos(self, jid):
room_info = {}
if jid in self.cache:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment