Show message in private windows when user offline

This commit is contained in:
James Booth
2016-02-02 21:52:13 +00:00
parent f0837abf0a
commit 150015fa3d
7 changed files with 60 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ buffer_push(ProfBuff buffer, const char show_char, int pad_indent, GDateTime *ti
e->flags = flags;
e->theme_item = theme_item;
e->time = g_date_time_ref(time);
e->from = strdup(from);
e->from = from ? strdup(from) : NULL;
e->message = strdup(message);
e->receipt = receipt;