Add double puppet value to backfilled event wire content

This commit is contained in:
Tulir Asokan 2022-07-05 16:41:21 +03:00
parent 4d059edc48
commit 2bc5c32d48

View file

@ -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,