equal
deleted
inserted
replaced
71 |
71 |
72 is_room = !!(buddy_gettype(roster_usr->data) & ROSTER_TYPE_ROOM); |
72 is_room = !!(buddy_gettype(roster_usr->data) & ROSTER_TYPE_ROOM); |
73 |
73 |
74 if (!is_groupchat && is_room) { |
74 if (!is_groupchat && is_room) { |
75 // This is a private message from a room participant |
75 // This is a private message from a room participant |
|
76 if (!resname) resname = ""; |
76 wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg); |
77 wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg); |
77 } |
78 } |
78 |
79 |
79 if (type && !strcmp(type, "error")) { |
80 if (type && !strcmp(type, "error")) { |
80 message_flags = HBB_PREFIX_ERR | HBB_PREFIX_IN; |
81 message_flags = HBB_PREFIX_ERR | HBB_PREFIX_IN; |