diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-17 01:25:14 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-17 01:25:14 +0100 |
commit | fe912240bc1ab89b8a20ce87d5183f328f704d23 (patch) | |
tree | fd86e16977dc068c8ad404dc4ede4eb6640374de /src/ChatPage.h | |
parent | Remove embedded fonts (diff) | |
download | nheko-fe912240bc1ab89b8a20ce87d5183f328f704d23.tar.xz |
Move typing display to qml
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r-- | src/ChatPage.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h index e4c0ef16..354a21f3 100644 --- a/src/ChatPage.h +++ b/src/ChatPage.h @@ -48,7 +48,6 @@ class Splitter; class TextInputWidget; class TimelineViewManager; class TopRoomBar; -class TypingDisplay; class UserInfoWidget; class UserSettings; class NotificationsManager; @@ -187,8 +186,6 @@ private: using LeftRooms = std::map<std::string, mtx::responses::LeftRoom>; void removeLeftRooms(const LeftRooms &rooms); - void updateTypingUsers(const QString &roomid, const std::vector<std::string> &user_ids); - void loadStateFromCache(); void resetUI(); //! Decides whether or not to hide the group's sidebar. @@ -206,9 +203,6 @@ private: void showNotificationsDialog(const QPoint &point); - QStringList generateTypingUsers(const QString &room_id, - const std::vector<std::string> &typing_users); - QHBoxLayout *topLayout_; Splitter *splitter; @@ -228,7 +222,6 @@ private: TopRoomBar *top_bar_; TextInputWidget *text_input_; - TypingDisplay *typingDisplay_; QTimer connectivityTimer_; std::atomic_bool isConnected_; @@ -240,8 +233,6 @@ private: popups::UserMentions *user_mentions_popup_; - // Keeps track of the users currently typing on each room. - std::map<QString, QList<QString>> typingUsers_; QTimer *typingRefresher_; // Global user settings. |