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

Properly format invite messages

parent 5e5989e2
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -572,7 +572,16 @@ class QuasselMessageRenderer @Inject constructor(
isExpanded = false,
isSelected = false
)
//Message_Type.Invite
Message_Type.Invite -> FormattedMessage(
id = message.content.messageId,
time = timeFormatter.format(message.content.time.atZone(zoneId)),
dayChange = formatDayChange(message),
combined = contentFormatter.formatContent(message.content.content, monochromeForeground),
hasDayChange = message.hasDayChange,
isMarkerLine = message.isMarkerLine,
isExpanded = message.isExpanded,
isSelected = message.isSelected
)
else -> FormattedMessage(
id = message.content.messageId,
time = timeFormatter.format(message.content.time.atZone(zoneId)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment