mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-27 16:16:35 +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"(
|
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"(
|
const char *get_pins = R"(
|
||||||
|
|||||||
Reference in New Issue
Block a user