Commit ecfed11e authored by Philipp Hörist's avatar Philipp Hörist

DiscoInfo: Add muc_room_name property

parent 59b6c18b
Pipeline #4016 passed with stages
in 27 seconds
......@@ -183,6 +183,10 @@ class DiscoInfo(namedtuple('DiscoInfo', 'jid node identities features dataforms'
if identity.category == 'conference':
return identity.name
@property
def muc_room_name(self):
return self._get_form_value(NS_MUC_INFO, 'muc#roomconfig_roomname')
@property
def muc_description(self):
return self._get_form_value(NS_MUC_INFO, 'muc#roominfo_description')
......
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