Browse Source

Update the nickname in existing subscriptions on re-subscription

master
Bohdan Horbeshko 2 months ago
parent
commit
710a88cd7d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      telegram/utils.go

+ 2
- 0
telegram/utils.go View File

@ -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