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) --- windows/mainwindow.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'windows/mainwindow.hpp') diff --git a/windows/mainwindow.hpp b/windows/mainwindow.hpp index e850fa2..7480346 100644 --- a/windows/mainwindow.hpp +++ b/windows/mainwindow.hpp @@ -19,6 +19,7 @@ public: void UpdateChatMessageEditContent(Snowflake id, Snowflake channel_id); void UpdateChatPrependHistory(const std::vector &msgs); void InsertChatInput(std::string text); + Snowflake GetChatOldestListedMessage(); ChannelList *GetChannelList(); ChatWindow *GetChatWindow(); -- cgit v1.2.3