Files
simplex-chat/apps/simplex-directory-service
Narasimha-sc fd14739faf directory: fix /invite not re-inviting member who left owners' group (#6866)
* directory: re-invite owner who left owners' group

The /invite command's alreadyMember check treated any GroupMember row as
a current member, including rows with status GSMemLeft or GSMemRemoved.
Owners who had left the owners' group could therefore not be re-invited.
Use memberCurrent to only block re-invite when the member is actually in
the group.

* directory tests: account for admin notification and renamed group on re-invite

The owners' group has no GroupReg by design, so when an owner leaves it
the directory service notifies admins with "Error: contact left, group: N
owners, group registration not found" - expected behavior, but the test
for re-inviting an owner who left the owners' group did not consume this
DM and failed at bracket cleanup.

The test also assumed bob's new invitation would land in #owners, but the
chat client disambiguates it to #owners_1 because bob's old left
membership of #owners is still present locally.

Consume the admin DM explicitly and update the invitation assertions to
#owners_1 / /j owners_1.

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2026-04-29 10:40:05 +01:00
..
2025-09-30 08:03:25 +01:00
2023-08-01 20:54:51 +01:00

SimpleX Directory Service

The service is currently a chat bot that allows to register and search for groups.

Superusers are configured via CLI options.