mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-04-03 19:20:17 +00:00
Drop forced bold from userlist prefixes
This commit is contained in:
@@ -550,9 +550,9 @@ fe_userlist_insert (session *sess, struct User *newuser, gboolean sel)
|
|||||||
prefix_escaped = g_markup_escape_text (prefix_text, -1);
|
prefix_escaped = g_markup_escape_text (prefix_text, -1);
|
||||||
prefix_color = userlist_prefix_color (newuser->prefix[0]);
|
prefix_color = userlist_prefix_color (newuser->prefix[0]);
|
||||||
if (prefix_color)
|
if (prefix_color)
|
||||||
prefix = g_strdup_printf ("<b><span foreground=\"%s\">%s</span></b>", prefix_color, prefix_escaped);
|
prefix = g_strdup_printf ("<span foreground=\"%s\">%s</span>", prefix_color, prefix_escaped);
|
||||||
else
|
else
|
||||||
prefix = g_strdup_printf ("<b>%s</b>", prefix_escaped);
|
prefix = g_strdup (prefix_escaped);
|
||||||
g_free (prefix_escaped);
|
g_free (prefix_escaped);
|
||||||
}
|
}
|
||||||
pix = NULL;
|
pix = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user