Skip to content

Commit da434d5

Browse files
authored
Merge pull request #83 from Fexaop/master
fix: fix reply pinging every ios user
2 parents f1c5ed1 + 3e5035e commit da434d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/message.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ func (a *Api) buildQuotedContext(chatJID types.JID, quotedMessageID string) (*wa
172172
}
173173

174174
if msg.Info.Sender.User != "" {
175-
participant := msg.Info.Sender.String()
176-
contextInfo.Participant = &participant
175+
participantJID := msg.Info.Sender.ToNonAD().String()
176+
contextInfo.Participant = proto.String(participantJID)
177177
}
178178

179179
return contextInfo, nil

0 commit comments

Comments
 (0)