Remove online indicator for offline users

This commit is contained in:
Nicolas Werner 2020-06-17 20:50:39 +02:00
parent 887ad25ab7
commit 5c8ee99e9a

View file

@ -56,7 +56,7 @@ Rectangle {
color: switch (timelineManager.userPresence(userid)) { color: switch (timelineManager.userPresence(userid)) {
case "online": return "#00cc66" case "online": return "#00cc66"
case "unavailable": return "#ff9933" case "unavailable": return "#ff9933"
case "offline": return "#a82353" case "offline": // return "#a82353" don't show anything if offline, since it is confusing, if presence is disabled
default: "transparent" default: "transparent"
} }
} }