Tested further in stack. Ran the following code:
```
+ let data = await commCoreModule.getClientDBStore();
+
+ await commCoreModule.processDBStoreOperations({
+ messageStoreOperations: [
+ {
+ type: 'replace_local_message_info',
+ payload: {
+ id: '1',
+ localMessageInfo: JSON.stringify({
+ sendFailed: "1",
+ }),
+ }
+ },
+ {
+ type: 'replace_local_message_info',
+ payload: {
+ id: '2',
+ localMessageInfo: JSON.stringify({
+ sendFailed: "0",
+ }),
+ }
+ },
+ {
+ type: 'remove_local_message_infos',
+ payload: {
+ ids: ['1'],
+ }
+ },
+ ]});
```
And confirmed correct result