mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
dont fetch temp pending msgs from store
This commit is contained in:
1 parent
fcb094463b
commit
95b93a0698
1 file changed
+1
-1
+1
-1
@@ -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"(
|
||||
|
||||
Reference in new issue
Block a user