mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-04 11:33:27 +03:00
dont fetch temp pending msgs from store
This commit is contained in:
@@ -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