Mercurial > hg
changeset 2162:9e40d8f5bbe6
When show_status_in_buffer is set, display the resource name in the buffer
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 26 Oct 2014 12:56:56 +0100 |
parents | 28ee843ddc02 |
children | 0ac8eea728d1 |
files | mcabber/mcabber/hooks.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/mcabber/hooks.c Sun Oct 26 12:48:50 2014 +0100 +++ b/mcabber/mcabber/hooks.c Sun Oct 26 12:56:56 2014 +0100 @@ -551,8 +551,8 @@ (st_in_buf == 1 && (status == offline || oldstat == offline))) { // Write the status change in the buddy's buffer, only if it already exists if (scr_buddy_buffer_exists(bjid)) { - bn = g_strdup_printf("Buddy status has changed: [%c>%c] %s", - imstatus2char[oldstat], imstatus2char[status], + bn = g_strdup_printf("Buddy status has changed: [%c>%c] [%s] %s", + imstatus2char[oldstat], imstatus2char[status], rn, ((status_msg) ? status_msg : "")); scr_write_incoming_message(bjid, bn, timestamp, HBB_PREFIX_INFO|HBB_PREFIX_NOFLAG, 0);