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
@@ -2588,9 +2588,9 @@
   bindStringToSQL(threadID.c_str(), preparedSQL, 4);
 
   if (usingCursor) {
-    int timestamp = std::stoll(timestampCursor.value());
-    bindIntToSQL(timestamp, preparedSQL, 5);
-    bindIntToSQL(timestamp, preparedSQL, 6);
+    int64_t timestamp = std::stoll(timestampCursor.value());
+    bindInt64ToSQL(timestamp, preparedSQL, 5);
+    bindInt64ToSQL(timestamp, preparedSQL, 6);
     bindStringToSQL(messageIDCursor.value(), preparedSQL, 7);
   }
 
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$@<O00001

literal 0
Hc$@<O00001