Skip to content

Commit

Permalink
always send group update to pending members
Browse files Browse the repository at this point in the history
  • Loading branch information
maltee1 authored Apr 2, 2024
1 parent 634cb43 commit 83af76e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/signalmeow/sending.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,10 @@ func (cli *Client) SendGroupUpdate(ctx context.Context, group *Group, groupConte
}
content := wrapDataMessageInContent(dm)
recipients := group.Members
for _, member := range group.PendingMembers {
recipients = append(recipients, &member.GroupMember)
}
if groupChange != nil {
for _, member := range group.PendingMembers {
recipients = append(recipients, &member.GroupMember)
}
for _, member := range groupChange.AddPendingMembers {
recipients = append(recipients, &member.GroupMember)
}
Expand Down

0 comments on commit 83af76e

Please sign in to comment.