summary refs log tree commit diff
path: root/src/ChatPage.h
diff options
context:
space:
mode:
authorredsky17 <joedonofry@gmail.com>2019-01-20 04:43:48 +0000
committerredsky17 <joedonofry@gmail.com>2019-01-20 04:43:48 +0000
commit237c7ad114b7c3d6960fdaf712b600e715eff082 (patch)
tree77f9f2f3f8eb6256a538e653bd1ed2b615fd8625 /src/ChatPage.h
parentUpdate user id color generation (diff)
downloadnheko-237c7ad114b7c3d6960fdaf712b600e715eff082.tar.xz
Author Color Fixes
Author color is now cached so that it will not be re-calculated
each time a new message is posted.  This cache gets cleared when
the theme is changed.

Additionally, the author color is now automatically refreshed
when the theme is changed, fixing the issue where you had to
change rooms before the colors would switch.
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r--src/ChatPage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h
index 2c728c17..492613ec 100644
--- a/src/ChatPage.h
+++ b/src/ChatPage.h
@@ -148,6 +148,7 @@ signals:
                            const QImage &icon);
 
         void updateGroupsInfo(const mtx::responses::JoinedGroups &groups);
+        void themeChanged();
 
 private slots:
         void showUnreadMessageNotification(int count);