core: fix forwarding for connection deleting events (x.grp.mem.del, x.grp.del) (#6189)

* core: fix forwarding for connection deleting events (x.grp.mem.del, x.grp.del)

* more tests

* docs, mute tests

* plans

* rework wip

* improve tests

* revert plans

* only forward original message

* update simplexmq (err context)

* update

* don't always wait delivery

* don't do unnecessary ack

* docs

* Revert "don't do unnecessary ack"

This reverts commit 1a560b0333.

* ack

* update simplexmq
This commit is contained in:
spaced4ndy
2025-08-18 11:58:25 +00:00
committed by GitHub
parent dc3dcd4fc8
commit b607b629a6
6 changed files with 226 additions and 92 deletions
+2 -2
View File
@@ -385,9 +385,9 @@ isForwardedGroupMsg ev = case ev of
XGrpMemNew {} -> True
XGrpMemRole {} -> True
XGrpMemRestrict {} -> True
XGrpMemDel {} -> True -- TODO there should be a special logic when deleting host member (e.g., host forwards it before deleting connections)
XGrpMemDel {} -> True
XGrpLeave -> True
XGrpDel -> True -- TODO there should be a special logic - host should forward before deleting connections
XGrpDel -> True
XGrpInfo _ -> True
XGrpPrefs _ -> True
_ -> False