Files
simplex-chat/tests
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-16 07:40:58 +01:00
2026-05-28 08:44:43 +01:00
2023-10-22 09:42:19 +01:00