mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-28 18:40:09 +00:00
addOrFindTeamMember added the team member as Member and then immediately called apiSetMembersRole(Owner). For a not-yet-accepted (GSMemInvited) member the core re-sends the group invitation on a role change, so every /join and /team produced two invitations. Add the member directly as Owner in a single apiAddMember call; onMemberConnected still re-asserts Owner idempotently as a fallback.