mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-24 16:20:03 +00:00
* directory: identify registration owner by member id to fix incorrect de-listing The leave/removed/role-changed handlers identified the registration owner by contact id. A non-owner member can be associated with the owner's contact (via the contact/member merge), so its departure incorrectly de-listed the group. Compare by group member id (owner_member_id) instead, falling back to contact id for registrations recorded before owner_member_id existed. * fix test, always compare contact ID in owner check --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>