From ef5c27885c7143034835cb06d0e45bb041a1f719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 27 Apr 2019 21:43:19 +0100 Subject: multiuserchat: type change_show method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/multiuserchat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' """ -- cgit v1.2.3