dont fetch temp pending msgs from store

This commit is contained in:
ouwou committed 2021-08-24 00:30:46 -04:00
1 parent fcb094463b
commit 95b93a0698
1 file changed
+1 -1
+1 -1
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"(