mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 01:00:19 +00:00
allow for disabling the filtering mechanism
This commit is contained in:
@@ -374,11 +374,14 @@ scrollback_load (session *sess)
|
||||
if (text)
|
||||
{
|
||||
text = strip_color (text + 1, -1, STRIP_COLOR);
|
||||
cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len);
|
||||
if (cleaned_text != NULL)
|
||||
if (prefs.text_nonbmp)
|
||||
{
|
||||
g_free (text);
|
||||
text = cleaned_text;
|
||||
cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len);
|
||||
if (cleaned_text != NULL)
|
||||
{
|
||||
g_free (text);
|
||||
text = cleaned_text;
|
||||
}
|
||||
}
|
||||
fe_print_text (sess, text, stamp);
|
||||
g_free (text);
|
||||
|
||||
Reference in New Issue
Block a user