diff --git a/src/main/java/eu/siacs/conversations/ui/widget/PresenceIndicator.kt b/src/main/java/eu/siacs/conversations/ui/widget/PresenceIndicator.kt index 12b12f60b..27af31796 100644 --- a/src/main/java/eu/siacs/conversations/ui/widget/PresenceIndicator.kt +++ b/src/main/java/eu/siacs/conversations/ui/widget/PresenceIndicator.kt @@ -52,7 +52,9 @@ class PresenceIndicator : View { } fun setStatus(contact: Contact?) { - val status = contact?.shownStatus + val status = contact?.shownStatus?.takeIf { + contact.account?.isOnlineAndConnected == true + } if (status != this.status) { this.status = status invalidate()