1
0
mirror of https://github.com/gryf/weechat-xmpp.git synced 2025-12-19 12:28:12 +01:00

add an away_string to MUC to be able to add/remove aliases

This commit is contained in:
Sébastien Leduc
2014-06-14 10:05:55 +02:00
parent c356dbdc06
commit cf52f85ccf

View File

@@ -1165,6 +1165,9 @@ class MUC:
self.parse_jid() self.parse_jid()
self.set_alias() self.set_alias()
def away_string(self):
return ""
def add_buddy(self, jid=None): def add_buddy(self, jid=None):
buddy = Buddy(jid=jid, server=self) buddy = Buddy(jid=jid, server=self)
buddy.resource = buddy.resource.encode("utf-8") buddy.resource = buddy.resource.encode("utf-8")