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:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user