Mercurial > hg
comparison mcabber/src/jabglue.c @ 654:d7fe7b88e4fc
MUC: Set the new_message flag when joining a room
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 07 Jan 2006 12:17:49 +0100 |
parents | d5db5be78eb0 |
children | de6837908702 |
comparison
equal
deleted
inserted
replaced
653:d5db5be78eb0 | 654:d7fe7b88e4fc |
---|---|
1147 if (!buddy_getinsideroom(room_elt->data)) { | 1147 if (!buddy_getinsideroom(room_elt->data)) { |
1148 // We weren't inside the room yet. Now we are. | 1148 // We weren't inside the room yet. Now we are. |
1149 // However, this could be a presence packet from another room member | 1149 // However, this could be a presence packet from another room member |
1150 | 1150 |
1151 buddy_setinsideroom(room_elt->data, TRUE); | 1151 buddy_setinsideroom(room_elt->data, TRUE); |
1152 // Set the message flag unless we're already in the room buffer window | |
1153 scr_setmsgflag_if_needed(roomjid); | |
1152 // Add a message to the tracelog file | 1154 // Add a message to the tracelog file |
1153 mbuf = g_strdup_printf("You have joined %s as \"%s\"", roomjid, ournick); | 1155 mbuf = g_strdup_printf("You have joined %s as \"%s\"", roomjid, ournick); |
1154 scr_LogPrint(LPRINT_LOGNORM, "%s", mbuf); | 1156 scr_LogPrint(LPRINT_LOGNORM, "%s", mbuf); |
1155 g_free(mbuf); | 1157 g_free(mbuf); |
1156 mbuf = g_strdup_printf("You have joined as \"%s\"", ournick); | 1158 mbuf = g_strdup_printf("You have joined as \"%s\"", ournick); |