diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-01-31 17:31:05 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-01-31 17:31:05 +0300 |
commit | 3cdb625c5edb90ad6c55bacc2daea51385952750 (patch) | |
tree | ea65e10369eda6583b9508094ffe421f548b8062 /xmpp/handlers.go | |
parent | 8c20aaa30d2ca7483e56c2a3cb95e83a051013ea (diff) |
Mark expired online statuses as away
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r-- | xmpp/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go index 6770e3a..5db8df6 100644 --- a/xmpp/handlers.go +++ b/xmpp/handlers.go @@ -189,8 +189,8 @@ func handlePresence(s xmpp.Sender, p stanza.Presence) { for status := range session.StatusesRange() { go session.ProcessStatusUpdate( status.ID, - status.XMPP, status.Description, + status.XMPP, gateway.SPImmed(false), ) } |