summaryrefslogtreecommitdiff
path: root/discord/store.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-08-24 23:04:11 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-08-24 23:04:11 -0400
commit3333e2ce8c79687b3e01d014f711898dac0a7979 (patch)
treec2090f9d9d1a1e1a6051717a2500cd208e85c01e /discord/store.hpp
parentab948c29b7cb136430bab6b3f6eb9b174aef7d3f (diff)
downloadabaddon-portaudio-3333e2ce8c79687b3e01d014f711898dac0a7979.tar.gz
abaddon-portaudio-3333e2ce8c79687b3e01d014f711898dac0a7979.zip
make ClearChannel actually remove the channel from the db
so that the threads window does not show deleted threads in active
Diffstat (limited to 'discord/store.hpp')
-rw-r--r--discord/store.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/store.hpp b/discord/store.hpp
index 8e19e20..f84d13e 100644
--- a/discord/store.hpp
+++ b/discord/store.hpp
@@ -137,6 +137,7 @@ private:
mutable sqlite3_stmt *m_get_msg_ids_stmt;
mutable sqlite3_stmt *m_get_pins_stmt;
mutable sqlite3_stmt *m_get_threads_stmt;
+ mutable sqlite3_stmt *m_clear_chan_stmt;
};
template<typename T>