From 2bc5c32d48173e1837c15fd4be698694ffd81627 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 5 Jul 2022 16:41:21 +0300 Subject: [PATCH] Add double puppet value to backfilled event wire content --- historysync.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/historysync.go b/historysync.go index 38920da..f4b86f7 100644 --- a/historysync.go +++ b/historysync.go @@ -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,