Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
ecfed11e by Philipp Hörist at 2019-08-08T20:57:23Z
DiscoInfo: Add muc_room_name property
- - - - -
1 changed file:
- nbxmpp/structs.py
Changes:
=====================================
nbxmpp/structs.py
=====================================
@@ -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')
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/commit/ecfed11e600c6e9d9be64ffd7b003f3bc80e47a5
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/commit/ecfed11e600c6e9d9be64ffd7b003f3bc80e47a5
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits