diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-08-24 00:30:46 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-08-24 00:30:46 -0400 |
commit | 95b93a06981f5cc7286af503fea4141c857233ce (patch) | |
tree | 6247504bfd9f004e2a927c5e48023197e27604b2 /discord | |
parent | fcb094463b410952b0905af41707787e1791bbac (diff) | |
download | abaddon-portaudio-95b93a06981f5cc7286af503fea4141c857233ce.tar.gz abaddon-portaudio-95b93a06981f5cc7286af503fea4141c857233ce.zip |
dont fetch temp pending msgs from store
Diffstat (limited to 'discord')
-rw-r--r-- | discord/store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/store.cpp b/discord/store.cpp index 2439da5..f53cdce 100644 --- a/discord/store.cpp +++ b/discord/store.cpp @@ -1168,7 +1168,7 @@ bool Store::CreateStatements() { )"; const char *get_msg_ids = R"( - SELECT id FROM messages WHERE channel_id = ? ORDER BY id ASC + SELECT id FROM messages WHERE channel_id = ? AND pending = 0 ORDER BY id ASC )"; const char *get_pins = R"( |