a6285cc827
* 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 |
||
---|---|---|
.. | ||
migrations | ||
adaptors.go | ||
community.go | ||
community_categories.go | ||
community_categories_test.go | ||
community_test.go | ||
errors.go | ||
manager.go | ||
manager_test.go | ||
persistence.go | ||
persistence_test.go | ||
persistence_test_helpers.go | ||
request_to_join.go | ||
request_to_join_test.go | ||
request_to_leave.go | ||
utils.go | ||
validator.go |