add notice for archived threads at top of chatwindow

This commit is contained in:
ouwou
2021-09-03 04:04:51 -04:00
parent f3769ca301
commit 002004cb5f
4 changed files with 30 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ public:
void InsertChatInput(std::string text);
Snowflake GetOldestListedMessage(); // oldest message that is currently in the ListBox
void UpdateReactions(Snowflake id);
void SetTopic(const std::string &text);
protected:
bool m_is_replying = false;
@@ -49,6 +50,9 @@ protected:
//Gtk::ListBox *m_list;
//Gtk::ScrolledWindow *m_scroll;
Gtk::EventBox m_topic; // todo probably make everything else go on the stack
Gtk::Label m_topic_text;
ChatList *m_chat;
ChatInput *m_input;