Fix smol formatting issue
This commit is contained in:
parent
c640176dd7
commit
bbfb7802f1
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ open class SOSLSv2FormatBuilder(call: Call, channelSettings: ChannelSettings?) :
|
|||
var messageFormat: String = this@SOSLSv2FormatBuilder.message
|
||||
|
||||
if (ChannelSettings.getSetting(channelSettings, "sanitizeMessage") == false)
|
||||
messageFormat = messageFormat.replace("\n", "<reset>\n")
|
||||
messageFormat = messageFormat.lines().joinToString("\n") { line -> "${line}<reset>" }
|
||||
|
||||
if (enabledFeatures.contains(Feature.FORMATTING))
|
||||
append("<reset>${messageFormat}")
|
||||
|
|
Loading…
Reference in a new issue