mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-13 17:13:11 +01:00
Add double puppet value to backfilled event wire content
This commit is contained in:
parent
4d059edc48
commit
2bc5c32d48
1 changed files with 3 additions and 0 deletions
|
@ -665,6 +665,9 @@ func (portal *Portal) wrapBatchEvent(info *types.MessageInfo, intent *appservice
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if newEventType != eventType {
|
||||
intent.AddDoublePuppetValue(&wrappedContent)
|
||||
}
|
||||
|
||||
return &event.Event{
|
||||
Sender: intent.UserID,
|
||||
|
|
Loading…
Reference in a new issue