Philipp Hörist pushed to branch mainwindow at gajim / gajim
Commits:
a9d92037 by lovetox at 2021-06-08T18:16:13+02:00
Contacts: Add get_disco()
- - - - -
1 changed file:
- gajim/common/modules/contacts.py
Changes:
=====================================
gajim/common/modules/contacts.py
=====================================
@@ -438,6 +438,9 @@ def get_user_nicknames(self):
client = app.get_client(self._account)
return client.get_module('MUC').get_joined_users(self._jid)
+ def get_disco(self, max_age=0):
+ return app.storage.cache.get_last_disco_info(self.jid, max_age=max_age)
+
class GroupchatParticipant(CommonContact):
def __init__(self, logger, jid, account):
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a9d920374220bbb93a4163d2291647cd1a18326f
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a9d920374220bbb93a4163d2291647cd1a18326f
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