aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2022-01-31 17:31:05 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2022-01-31 17:31:05 +0300
commit3cdb625c5edb90ad6c55bacc2daea51385952750 (patch)
treeea65e10369eda6583b9508094ffe421f548b8062 /xmpp/handlers.go
parent8c20aaa30d2ca7483e56c2a3cb95e83a051013ea (diff)
Mark expired online statuses as away
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r--xmpp/handlers.go2
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),
)
}