msgconv/from-discord: only complain about portal when we can't find it

This commit is contained in:
Skip R
2026-01-27 19:11:21 -08:00
parent 2f8de6635a
commit 578030a9dd

View File

@@ -249,7 +249,7 @@ func (mc *MessageConverter) forwardedMessageHtmlPart(ctx context.Context, portal
// We only have the name of the portal.
origLink = fmt.Sprintf("%s • %s", forwardedFromPortal.Name, msgTSText)
}
} else {
} else if err != nil {
log.Err(err).Msg("Couldn't find corresponding portal when bridging forwarded message")
}