diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-04-27 21:43:19 +0100 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-04-27 21:46:18 +0100 |
commit | ef5c27885c7143034835cb06d0e45bb041a1f719 (patch) | |
tree | db966be930d8145554f6289f6f2cc35b35a66702 | |
parent | 217bc731e859ebe359c19d5e330d5c626d37dc89 (diff) | |
download | poezio-ef5c27885c7143034835cb06d0e45bb041a1f719.tar.gz poezio-ef5c27885c7143034835cb06d0e45bb041a1f719.tar.bz2 poezio-ef5c27885c7143034835cb06d0e45bb041a1f719.tar.xz poezio-ef5c27885c7143034835cb06d0e45bb041a1f719.zip |
multiuserchat: type change_show method
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/multiuserchat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/multiuserchat.py b/poezio/multiuserchat.py index 73a802b2..a58883c6 100644 --- a/poezio/multiuserchat.py +++ b/poezio/multiuserchat.py @@ -13,6 +13,7 @@ slix plugin from xml.etree import cElementTree as ET from poezio.common import safeJID +from slixmpp import JID from slixmpp.exceptions import IqError, IqTimeout import logging log = logging.getLogger(__name__) @@ -67,7 +68,7 @@ def send_groupchat_message(xmpp, jid, line): xmpp.send_message(mto=jid, mbody=line, mtype='groupchat') -def change_show(xmpp, jid, own_nick, show, status): +def change_show(xmpp, jid: JID, own_nick: str, show, status): """ Change our 'Show' """ |