This commit is contained in:
Yann Leboulanger 2006-09-07 21:16:50 +00:00
parent 2352ddfd02
commit 411aaa1f7b
1 changed files with 1 additions and 2 deletions

View File

@ -782,8 +782,7 @@ class Connection(ConnectionHandlers):
p = common.xmpp.Presence(jid, 'subscribe')
if user_nick:
msg_iq.setTag('nick', namespace = common.xmpp.NS_NICK).setData(
user_nick)
p.setTag('nick', namespace = common.xmpp.NS_NICK).setData(user_nick)
p = self.add_sha(p)
if msg:
p.setStatus(msg)