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

Created a patch to fix the issue that quasselcore doesn’t set the self flag properly.

parent 6a59a247
Branches
Tags
No related merge requests found
......@@ -149,7 +149,9 @@ public class ChatMessageRenderer {
private void onBindNick(@NonNull MessageViewHolder holder, @NonNull Message message) {
applyStyle(holder, serverStyle, highlightStyle, message.flags.Highlight);
if (message.flags.Self)
// FIXME: Ugly hack to get around the issue that quasselcore doesn’t set the Self flag
boolean self = message.flags.Self || message.sender.equals(message.content);
if (self)
holder.content.setText(context.themeUtil().translations.formatNick(
formatNick(message.sender, false)
));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment