aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telegram/utils.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/telegram/utils.go b/telegram/utils.go
index 99f9b68..17e9861 100644
--- a/telegram/utils.go
+++ b/telegram/utils.go
@@ -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(