diff --git a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp --- a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp +++ b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp @@ -2550,6 +2550,7 @@ SQLiteQueryExecutor::getAllOutboundP2PMessages() const { std::string query = "SELECT * FROM outbound_p2p_messages " + "WHERE status != 'sent' " "ORDER BY timestamp;"; SQLiteStatementWrapper preparedSQL( diff --git a/web/shared-worker/_generated/comm_query_executor.wasm b/web/shared-worker/_generated/comm_query_executor.wasm index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@ msg.messageID === TEST_MSG_4.messageID)?.status, - ).toBe('sent'); + messages.find(msg => msg.messageID === TEST_MSG_4.messageID), + ).toBeFalsy(); }); it('should return message by ID', () => {