diff --git a/pkg/connector/handlewhatsapp.go b/pkg/connector/handlewhatsapp.go index 052176b3..b7069777 100644 --- a/pkg/connector/handlewhatsapp.go +++ b/pkg/connector/handlewhatsapp.go @@ -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{