aboutsummaryrefslogtreecommitdiff
path: root/clientapi
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-04-07 10:10:28 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-04-07 10:10:28 +0100
commit99ef5472959a4e4d49bd9760fcb8b3872e21fa71 (patch)
treeac559cfc355cd8f61ad1f82f8ba2850097951265 /clientapi
parent99f2007eb6ad75ce8e19b3c3088f552034a1644d (diff)
Simplify presence stringification (should help with vector-im/element-android#5712)
Diffstat (limited to 'clientapi')
-rw-r--r--clientapi/routing/presence.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/clientapi/routing/presence.go b/clientapi/routing/presence.go
index 63fbb75e..093a6246 100644
--- a/clientapi/routing/presence.go
+++ b/clientapi/routing/presence.go
@@ -70,7 +70,6 @@ func SetPresence(
JSON: jsonerror.Unknown(fmt.Sprintf("Unknown presence '%s'.", presence.Presence)),
}
}
-
err := producer.SendPresence(req.Context(), userID, presenceStatus, presence.StatusMsg)
if err != nil {
log.WithError(err).Errorf("failed to update presence")