From 27a3dfab49ba9bcd9ba0c57823fdb3186e96b0c7 Mon Sep 17 00:00:00 2001 From: Malte E Date: Tue, 13 Aug 2024 07:25:23 +0200 Subject: [PATCH] add PromoteRequestingMembers --- pkg/connector/groupinfo.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/connector/groupinfo.go b/pkg/connector/groupinfo.go index dcaac638..d0ecdd49 100644 --- a/pkg/connector/groupinfo.go +++ b/pkg/connector/groupinfo.go @@ -315,6 +315,13 @@ func (s *SignalClient) groupChangeToChatInfoChange(ctx context.Context, rev uint PrevMembership: event.MembershipInvite, }) } + for _, member := range groupChange.PromoteRequestingMembers { + mc = append(mc, bridgev2.ChatMember{ + EventSender: s.makeEventSender(member.ACI), + Membership: event.MembershipJoin, + PrevMembership: event.MembershipKnock, + }) + } if len(mc) > 0 || pls != nil { ic.MemberChanges = &bridgev2.ChatMemberList{Members: mc, PowerLevels: pls} }