comparison mcabber/src/hooks.c @ 648:16cd6c858a5d

MUC: No new_message flag for server messages
author Mikael Berthe <mikael@lilotux.net>
date Sat, 07 Jan 2006 01:12:03 +0100
parents a8cb28ca5ff4
children de6837908702
comparison
equal deleted inserted replaced
647:c6c41dd2464a 648:16cd6c858a5d
48 if (type && !strcmp(type, "groupchat")) { 48 if (type && !strcmp(type, "groupchat")) {
49 rtype = ROSTER_TYPE_ROOM; 49 rtype = ROSTER_TYPE_ROOM;
50 is_groupchat = TRUE; 50 is_groupchat = TRUE;
51 log_muc_conf = settings_opt_get_int("log_muc_conf"); 51 log_muc_conf = settings_opt_get_int("log_muc_conf");
52 if (!resname) { 52 if (!resname) {
53 message_flags = HBB_PREFIX_INFO; 53 message_flags = HBB_PREFIX_INFO | HBB_PREFIX_NOFLAG;
54 resname = ""; 54 resname = "";
55 bmsg = g_strdup_printf("~ %s", msg); 55 bmsg = g_strdup_printf("~ %s", msg);
56 } else { 56 } else {
57 bmsg = g_strdup_printf("<%s> %s", resname, msg); 57 bmsg = g_strdup_printf("<%s> %s", resname, msg);
58 } 58 }