dont fetch temp pending msgs from store

This commit is contained in:
ouwou 2021-08-24 00:30:46 -04:00
parent fcb094463b
commit 95b93a0698

View File

@ -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"(