OTR & another.im #23

Merged
Sergei Poljanski merged 65 commits from develop into master 2024-12-09 18:42:00 +00:00
Showing only changes of commit cf9ca3cc46 - Show all commits

View file

@ -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()