Note that this doesn't delete every message related to the group, there are also the group feed announce messages, and member addition messages. We don't want to delete those messages, but we want to delete their secrets. That's a different issue though https://github.com/ssbc/ssb-tribes2/issues/103
To save storage and for privacy.
Note that this doesn't delete every message related to the group, there are also the group feed announce messages, and member addition messages. We don't want to delete those messages, but we want to delete their secrets. That's a different issue though https://github.com/ssbc/ssb-tribes2/issues/103
This came up in https://github.com/ssbc/ssb-tribes2/pull/101 (not super relevant though)
The code might look a bit something like this
would have to move the excludeGroupInfo into a drain in the pull. And in the drain we'd delete the feeds safely using https://github.com/ssbc/ssb-db2#deletefeedfeedid-cb