Skip to content

Commit

Permalink
Update portal.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tulir Asokan <[email protected]>
  • Loading branch information
maltee1 and tulir authored Dec 26, 2023
1 parent 33e9b0d commit 3866e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ func (portal *Portal) addRelaybotFormat(userID id.UserID, content *event.Message
content.EnsureHasHTML()
data, err := portal.bridge.Config.Bridge.Relay.FormatMessage(content, userID, *member)
if err != nil {
portal.log.Error().Msgf("Failed to apply relaybot format: %s", err)
portal.log.Err(err).Msg("Failed to apply relaybot format")
}
content.FormattedBody = data
return true
Expand Down

0 comments on commit 3866e3c

Please sign in to comment.