# HG changeset patch # User Mikael Berthe # Date 1163942545 -3600 # Node ID f9e8fd9cb58b7ff1f160a2c6d8f0066f74267a5a # Parent f7ef8003fc3592393e99640ea3eb552228a20dee Set new_msg flag when listing annotations in the status buffer in non-chat mode If the chat mode is disabled and "/roster note" displays notes in the status buffer, we need to set the new_msg flag. diff -r f7ef8003fc35 -r f9e8fd9cb58b mcabber/src/commands.c --- a/mcabber/src/commands.c Sun Nov 19 11:51:14 2006 +0100 +++ b/mcabber/src/commands.c Sun Nov 19 14:22:25 2006 +0100 @@ -525,6 +525,10 @@ // Call display_and_free_note() for each note, // with winId = NULL (special window) g_slist_foreach(notes, (GFunc)&display_and_free_note, NULL); + if (notes) { + scr_setmsgflag_if_needed(SPECIAL_BUFFER_STATUS_ID, TRUE); + update_roster = TRUE; + } g_slist_free(notes); }