Update the nickname in existing subscriptions on re-subscription

calls
Bohdan Horbeshko 2 years ago
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…
Cancel
Save