summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorJussi Kuokkanen <jussi.kuokkanen@protonmail.com>2020-09-17 17:50:39 +0300
committerJussi Kuokkanen <jussi.kuokkanen@protonmail.com>2020-09-17 17:50:39 +0300
commitc4635680318e8116b058a4791a44d48b5220b903 (patch)
tree00ab5d2dee522e47a9b504b205a636d085caf72d /resources/qml/TimelineView.qml
parentMerge branch 'master' of https://github.com/Nheko-Reborn/nheko (diff)
downloadnheko-c4635680318e8116b058a4791a44d48b5220b903.tar.xz
simplify check for no typing users
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 71a287bb..202c09e9 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -439,8 +439,7 @@ Page {
                     Connections {
                         target: chat.model
                         onTypingUsersChanged: {
-                            if (chat.model && chat.model.formatTypingUsers(chat.model.typingUsers,
-                                                                           colors.window) === "")
+                            if (chat.model && chat.model.typingUsers < 1)
                                 typingRect.color = "transparent"
                             else
                                 typingRect.color = colors.window