# HG changeset patch # User Mikael Berthe # Date 1163627255 -3600 # Node ID 97f862e44d5d240c9db5b8656e2816bdd90c080a # Parent 60c94b697f61ee9c892e300313b8ef4b24b24c24 /roster note: do not display mdate when it's equal to cdate diff -r 60c94b697f61 -r 97f862e44d5d mcabber/src/commands.c --- a/mcabber/src/commands.c Wed Nov 15 22:36:35 2006 +0100 +++ b/mcabber/src/commands.c Wed Nov 15 22:47:35 2006 +0100 @@ -516,7 +516,8 @@ msg_flag = HBB_PREFIX_NONE; } // If we have the modification date, display it - if (note->mdate) { + // unless it's the same as the creation date + if (note->mdate && note->mdate != note->cdate) { strftime(tbuf, sizeof(tbuf), "%Y-%m-%d %H:%M:%S", localtime(¬e->mdate)); msg = g_strdup_printf("Note modified %s", tbuf);