status-go/services
Jonathan Rainville a6285cc827
Fix chats reseting when a Sync signal comes for communities (#3539)
* fix(community): stop re-joining comm when receiving a sync community msg

Fixes an issue with chats being reset. Since joining a community resaves the chats with the synced default value, it resets the sate of the chats, losing the unread messages, the muted state and more.
The solution is to block the re-joining of the community. In the case of the sync, we catch that error and just continue on.

* fix(import): fix HandleImport not saving the chat

Doesn't change much, but it could have caused issues in the future, so since we might have modified the chat, we make sure to save them
Also adds a test

* fix tests
2023-05-29 13:57:05 -04:00
..
accounts feat: a profile keypair name follows display name 2023-05-25 19:46:47 +02:00
appmetrics feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00
browsers Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
chat refactor(chat/api): re-add chats in the getChannelGroups api (#3439) 2023-05-02 13:54:44 -04:00
collectibles feat(RemoteBurn): Add remote burn collectibles functionality 2023-05-25 13:34:53 +02:00
ens test: use `T.TempDir` to create temporary test directory (#2746) 2023-04-26 21:39:51 +01:00
ext Fix chats reseting when a Sync signal comes for communities (#3539) 2023-05-29 13:57:05 -04:00
gif fix(api): ensure getFavoriteGifs doesn't error when response is empty 2023-02-09 11:02:58 +01:00
local-notifications feat(wallet): refactor transfers to allow multiple transfer fetching (#3432) 2023-05-08 08:02:00 +02:00
mailservers fix: dropping peer in mailserver cycle 2023-01-18 09:28:08 -04:00
peer
permissions feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00
personal
rpcfilters synchronize display name (#2989) 2022-12-29 14:16:19 +08:00
rpcstats
shhext Remove group members (#3011) 2022-12-10 08:26:51 +04:00
status fix(RequestCommunityInfoFromMailserver): Add useDatabase flag to read/not read community info before requesting mailserver.. 2022-11-30 11:10:13 +01:00
stickers feat(collectibles): Mint collectibles (ERC-721): 2023-02-13 12:59:55 +01:00
subscriptions
typeddata fix: metamask test 2022-10-26 09:39:30 +02:00
updates feat: add service for checking if there are new versions available (#2552) 2022-06-08 08:38:26 -04:00
utils feat(collectibles): Mint collectibles (ERC-721): 2023-02-13 12:59:55 +01:00
wakuext Allow setting up wallet with new config 2023-05-19 13:23:21 +01:00
wakuv2ext feat: fetch curated communities from smart contract on optimism (#2685) 2022-06-02 08:17:52 -04:00
wallet feat: return only enabled networks from the reader 2023-05-29 08:37:08 +02:00
web3provider feat: accounts improvements applied 2023-05-25 19:46:47 +02:00