From e5a90b94618bafc6bc99afbbff37f7aa3d6a97cf Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 14 Sep 2020 00:17:58 -0400 Subject: only load 50 messages on channel switch (also fix member menu) --- components/chatwindow.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'components/chatwindow.hpp') diff --git a/components/chatwindow.hpp b/components/chatwindow.hpp index 00d5e2b..ba71d2b 100644 --- a/components/chatwindow.hpp +++ b/components/chatwindow.hpp @@ -21,6 +21,7 @@ public: void UpdateMessageContent(Snowflake id); void Clear(); void InsertChatInput(std::string text); + Snowflake GetOldestListedMessage(); protected: void ScrollToBottom(); -- cgit v1.2.3