Skip to content

Commit

Permalink
add PromoteRequestingMembers
Browse files Browse the repository at this point in the history
  • Loading branch information
maltee1 committed Aug 13, 2024
1 parent d2bb2c3 commit 27a3dfa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/connector/groupinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit 27a3dfa

Please sign in to comment.