From f3e8d1aff329b65f171e9f6f41681eb179b58d4f Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 26 Aug 2020 01:47:46 -0400 Subject: clear messages on disconnect --- 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 fb2abec..d8de505 100644 --- a/components/chatwindow.hpp +++ b/components/chatwindow.hpp @@ -16,6 +16,7 @@ public: Snowflake GetActiveChannel() const; void SetMessages(std::unordered_set msgs); void AddNewMessage(Snowflake id); + void ClearMessages(); protected: void ScrollToBottom(); -- cgit v1.2.3