diff --git a/lib/src/database/hive_database.dart b/lib/src/database/hive_database.dart index 2a4a6005..0ba951c9 100644 --- a/lib/src/database/hive_database.dart +++ b/lib/src/database/hive_database.dart @@ -828,6 +828,12 @@ class FamedlySdkHiveDatabase extends DatabaseApi { ?.tryGet(messageSendingStatusKey) ?? 2; + // Is this the response to a sending event which is already synced? Then + // there is nothing to do here. + if (newStatus != 2 && prevEvent?.status == 2) { + return; + } + final status = newStatus == -1 || prevEvent == null || prevEvent.status == null ? newStatus