Skip to content
Snippets Groups Projects
Verified Commit 6c1a7f6a authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fix rendering of unrecognized messages

parent c65b724b
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -496,12 +496,13 @@ class QuasselMessageRenderer @Inject constructor( ...@@ -496,12 +496,13 @@ class QuasselMessageRenderer @Inject constructor(
isExpanded = false, isExpanded = false,
isSelected = false isSelected = false
) )
//Message_Type.Invite
else -> FormattedMessage( else -> FormattedMessage(
id = message.content.messageId, id = message.content.messageId,
time = timeFormatter.format(message.content.time.atZone(zoneId)), time = timeFormatter.format(message.content.time.atZone(zoneId)),
combined = SpanFormatter.format( combined = SpanFormatter.format(
"[%d] %s%s: %s", "[%d] %s%s: %s",
message.content.type, message.content.type.toInt(),
contentFormatter.formatPrefix(message.content.senderPrefixes), contentFormatter.formatPrefix(message.content.senderPrefixes),
contentFormatter.formatNick(message.content.sender, contentFormatter.formatNick(message.content.sender,
self, self,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment