diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-02-08 20:43:51 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-02-08 20:43:51 +0300 |
commit | 06104797341533bd96ab2030d110bd843cea5098 (patch) | |
tree | 4187611cd939158e6fd210d35156f41158205577 /telegram/utils.go | |
parent | 76364388ad2d7baa0718dff50902eacd4c090edf (diff) |
Attach resource to presences to prevent unwanted behaviour of some clients
Diffstat (limited to 'telegram/utils.go')
-rw-r--r-- | telegram/utils.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telegram/utils.go b/telegram/utils.go index e2fbe3b..a0e8147 100644 --- a/telegram/utils.go +++ b/telegram/utils.go @@ -217,6 +217,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.SPImmed(gateway.SPImmed.Get(oldArgs)), } if presenceType != "" { |