diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-26 01:47:46 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-26 01:47:46 -0400 |
commit | f3e8d1aff329b65f171e9f6f41681eb179b58d4f (patch) | |
tree | 4a19c0e0aec08efb19a0cd801a78a6652b9c9030 /components/chatwindow.hpp | |
parent | c6e2f266a11c7d2f2c025fc2f75ce38223a4bac2 (diff) | |
download | abaddon-portaudio-f3e8d1aff329b65f171e9f6f41681eb179b58d4f.tar.gz abaddon-portaudio-f3e8d1aff329b65f171e9f6f41681eb179b58d4f.zip |
clear messages on disconnect
Diffstat (limited to 'components/chatwindow.hpp')
-rw-r--r-- | components/chatwindow.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<const MessageData *> msgs); void AddNewMessage(Snowflake id); + void ClearMessages(); protected: void ScrollToBottom(); |