Files
simplex-chat/tests/ChatTests
Narasimha-sc 66d6466a9e core: do not connect to a group whose member is already connected
Connecting to a prepared group whose host or relay member already had a
connection created a second one for the same member -

  UNIQUE constraint failed: connections.group_member_id

reachable by connecting again from a second view of the same group. joinContact
advances the connection past ConnPrepared only after the agent call returns, so
a join that failed is resumed by the ConnPrepared branch above and reaching this
one means the join already succeeded; there is no case where connecting again is
what the caller wants. Replaces a connect' call the code already questioned.

The two tests reach this error only because owner members are now re-used, so
they cover both halves: without either change they fail on a constraint instead.
2026-08-20 14:03:37 +00:00
..
2026-06-17 19:13:51 +01:00
2025-01-24 09:44:53 +00:00
2025-01-24 09:44:53 +00:00