Mercurial > hg
changeset 830:80434fde7cfa
Display presence notification timestamps when they exist
These timestamps were used in the roster, but not in the buffer window
message nor in the history logfile. Reported by "ze".
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 03 May 2006 11:28:41 +0200 |
parents | 114f08e3c29a |
children | dd865cc57aa2 |
files | mcabber/src/hooks.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/hooks.c Sun Apr 30 14:51:02 2006 +0200 +++ b/mcabber/src/hooks.c Wed May 03 11:28:41 2006 +0200 @@ -240,7 +240,8 @@ bn = g_strdup_printf("Buddy status has changed: [%c>%c] %s", imstatus2char[oldstat], imstatus2char[status], ((status_msg) ? status_msg : "")); - scr_WriteIncomingMessage(jid, bn, 0, HBB_PREFIX_INFO|HBB_PREFIX_NOFLAG); + scr_WriteIncomingMessage(jid, bn, timestamp, + HBB_PREFIX_INFO|HBB_PREFIX_NOFLAG); g_free(bn); } } @@ -249,7 +250,7 @@ role_none, affil_none, NULL); buddylist_build(); scr_DrawRoster(); - hlog_write_status(jid, 0, status, status_msg); + hlog_write_status(jid, timestamp, status, status_msg); // External command hk_ext_cmd(jid, 'S', imstatus2char[status], NULL); }