This commit is contained in:
spaced4ndy committed 2026-06-30 18:30:48 +04:00
1 parent a717150bdf
commit 16f98b6819
1 file changed
+1 -1
+1 -1
View File
@@ -3260,7 +3260,7 @@ processAgentMessageConn cxt user@User {userId} corrId agentConnId agentMessage =
setGroupRosterVersion db gInfo v
-- advance the frontier when this delta is the next version. One version can carry several deltas
-- (a multi-member role change), delivered in order, so seeing any one of them advances the frontier
-- past that whole version; a relay that drops some deltas within a version is not detected here.
-- past that whole version.
when (v == nextCompleteVersion prevComplete) $
setCompleteRosterVersion db gInfo v
pure (fresh, prevComplete)