mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/backfill: add missing check to thread backfill
This commit is contained in:
parent
3cc3f95017
commit
0ea4b348fe
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ func (portal *Portal) compileBatchMessage(ctx context.Context, source *UserLogin
|
|||
out.DBReactions = append(out.DBReactions, dbReaction)
|
||||
out.Extras = append(out.Extras, &MatrixSendExtra{ReactionMeta: dbReaction})
|
||||
}
|
||||
if firstPart != nil && !inThread && portal.Bridge.Config.Backfill.Threads.MaxInitialMessages > 0 {
|
||||
if firstPart != nil && !inThread && portal.Bridge.Config.Backfill.Threads.MaxInitialMessages > 0 && msg.ShouldBackfillThread {
|
||||
portal.fetchThreadInsideBatch(ctx, source, firstPart, out)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue