Check server presence support and comment code

This commit is contained in:
vslg
2020-07-02 21:25:24 -03:00
committed by miruka
parent d5e0a3340d
commit 91ed600997
6 changed files with 27 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ HMenu {
}
HMenuItem {
visible: presence
enabled: presence !== "unavailable" && firstSyncDone
icon.name: "user-presence"
icon.color: theme.controls.presence.unavailable
@@ -64,6 +65,7 @@ HMenu {
}
HMenuItem {
visible: presence
enabled: presence !== "invisible" && firstSyncDone
icon.name: "user-presence"
icon.color: theme.controls.presence.offline