Skip to content

Commit

Permalink
handlewhatsapp: fix handling group avatar changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Oct 2, 2024
1 parent a9b6493 commit 2370f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connector/handlewhatsapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ func (wa *WhatsAppClient) handleWAPictureUpdate(evt *events.Picture) {
if evt.Remove {
changes.Avatar = &bridgev2.Avatar{Remove: true, ID: "remove"}
} else {
changes.ExtraUpdates = wa.makePortalAvatarFetcher(evt.PictureID, evt.JID, evt.Timestamp)
changes.ExtraUpdates = wa.makePortalAvatarFetcher(evt.PictureID, evt.Author, evt.Timestamp)
}
wa.UserLogin.QueueRemoteEvent(&simplevent.ChatInfoChange{
EventMeta: simplevent.EventMeta{
Expand Down

0 comments on commit 2370f84

Please sign in to comment.