From 856674506c064ba94396752664aede5167c3ec4b Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 5 Aug 2021 04:02:47 -0400 Subject: better join/leave thread logic --- components/channels.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/channels.hpp') diff --git a/components/channels.hpp b/components/channels.hpp index fce3546..c1c74a4 100644 --- a/components/channels.hpp +++ b/components/channels.hpp @@ -140,12 +140,12 @@ protected: void UpdateRemoveChannel(Snowflake id); void UpdateChannel(Snowflake id); void UpdateCreateChannel(const ChannelData &channel); - void UpdateCreateThread(const ChannelData &channel); - void UpdateDeleteThread(Snowflake id); void UpdateGuild(Snowflake id); + void DeleteThreadRow(Snowflake id); + void OnThreadJoined(Snowflake id); + void OnThreadRemoved(Snowflake id); void OnThreadDelete(const ThreadDeleteData &data); - void OnThreadMembersUpdate(const ThreadMembersUpdateData &data); Gtk::TreeView m_view; -- cgit v1.2.3