status-go/protocol/communities
Pascal Precht b5964348a1 fix(communities): ensure archive import is only cancelled if not already marked as such
There were cases where this caused a crash, as handling magnetlinks would try to close
an already closed tasked channel

See https://github.com/status-im/status-desktop/issues/8996 for more information.

This commit extends the task struct such that it can be marked as cancelled and safely
read and written by multiple go routines.
2023-01-24 08:58:40 +01:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
adaptors.go feat: sync `CommunitySettings` across paired devices 2022-06-16 12:45:05 +02:00
community.go Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
community_categories.go Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
community_categories_test.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00
community_test.go fix: remove ourselves from members when leaving community 2022-09-21 08:35:52 +02:00
errors.go Allow owner/admin to delete messages of a community (#2958) 2022-12-02 19:34:02 +08:00
manager.go fix(communities): ensure archive import is only cancelled if not already marked as such 2023-01-24 08:58:40 +01:00
manager_test.go feat(CommunitiesManager): introduce `CreateHistoryArchiveTorrentFromMessages` API 2022-10-24 13:28:55 +02:00
persistence.go Keep track of last seen magnetlink 2022-12-20 15:16:08 +01:00
persistence_test.go feat: add `SpectateCommunity` api 2022-10-06 21:21:37 +02:00
persistence_test_helpers.go feat: add `SpectateCommunity` api 2022-10-06 21:21:37 +02:00
request_to_join.go feat(communities): Cancel request to join community (#2915) 2022-10-28 11:41:20 +03:00
request_to_join_test.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_leave.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
utils.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
validator.go feat: community tags (#2708) 2022-06-24 09:40:12 -04:00