only load 50 messages on channel switch (also fix member menu)

This commit is contained in:
ouwou
2020-09-14 00:17:58 -04:00
parent 2822add5fe
commit e5a90b9461
8 changed files with 46 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ public:
void UpdateChatMessageEditContent(Snowflake id, Snowflake channel_id);
void UpdateChatPrependHistory(const std::vector<Snowflake> &msgs);
void InsertChatInput(std::string text);
Snowflake GetChatOldestListedMessage();
ChannelList *GetChannelList();
ChatWindow *GetChatWindow();