diff options
Diffstat (limited to 'sleekxmpp/plugins/xep_0172/user_nick.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0172/user_nick.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0172/user_nick.py b/sleekxmpp/plugins/xep_0172/user_nick.py index 64458f1a..cd3c22f3 100644 --- a/sleekxmpp/plugins/xep_0172/user_nick.py +++ b/sleekxmpp/plugins/xep_0172/user_nick.py @@ -62,7 +62,7 @@ class xep_0172(base_plugin): """ nickname = UserNick() nickname['nick'] = nick - self.xmpp['xep_0163'].publish(nickname, + return self.xmpp['xep_0163'].publish(nickname, node=UserNick.namespace, options=options, ifrom=ifrom, @@ -85,7 +85,7 @@ class xep_0172(base_plugin): be executed when a reply stanza is received. """ nick = UserNick() - self.xmpp['xep_0163'].publish(nick, + return self.xmpp['xep_0163'].publish(nick, node=UserNick.namespace, ifrom=ifrom, block=block, |