Commit ef5c2788 authored by Maxime Buquet's avatar Maxime Buquet

multiuserchat: type change_show method

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 217bc731
Pipeline #2053 passed with stages
in 2 minutes and 29 seconds
......@@ -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'
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment