diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-05-26 14:14:38 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-05-26 14:14:38 +0300 |
commit | 70841a2bea61728c75f6675bcd3355e8dfdcd087 (patch) | |
tree | 2405e12fb7f306a0f64725a5631bfb5d7f509e43 /telegram/utils.go | |
parent | ae16fd2a0b48c3659a012accd0269323935dfd14 (diff) |
Always send XMPP messages with a resource
Diffstat (limited to 'telegram/utils.go')
-rw-r--r-- | telegram/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/utils.go b/telegram/utils.go index 1248a54..61fefa7 100644 --- a/telegram/utils.go +++ b/telegram/utils.go @@ -225,7 +225,7 @@ func (c *Client) ProcessStatusUpdate(chatID int64, status string, show string, o gateway.SPShow(show), gateway.SPStatus(status), gateway.SPPhoto(photo), - gateway.SPResource(c.resource), + gateway.SPResource(gateway.Jid.Resource), gateway.SPImmed(gateway.SPImmed.Get(oldArgs)), } if presenceType != "" { |