Update the nickname in existing subscriptions on re-subscription
This commit is contained in:
parent
e2edbe37ea
commit
710a88cd7d
|
@ -1076,6 +1076,8 @@ func (c *Client) subscribeToID(id int64, chat *client.Chat) {
|
|||
}
|
||||
if chat != nil {
|
||||
args = append(args, gateway.SPNickname(chat.Title))
|
||||
|
||||
gateway.SetNickname(c.jid, strconv.FormatInt(id, 10), chat.Title, c.xmpp)
|
||||
}
|
||||
|
||||
gateway.SendPresence(
|
||||
|
|
Loading…
Reference in a new issue