mcabber/src/hooks.c
changeset 729 39f67cade02c
parent 728 421b337dc6d2
child 734 1d9f0efcfcee
equal deleted inserted replaced
728:421b337dc6d2 729:39f67cade02c
    90       if (!resname)
    90       if (!resname)
    91         resname = "";
    91         resname = "";
    92       wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg);
    92       wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg);
    93       if (!strncmp(msg, "/me ", 4))
    93       if (!strncmp(msg, "/me ", 4))
    94         wmsg = mmsg = g_strdup_printf("PRIV#*%s %s", resname, msg+4);
    94         wmsg = mmsg = g_strdup_printf("PRIV#*%s %s", resname, msg+4);
    95       message_flags |= HBB_PREFIX_HLIGHT;
    95       /*message_flags |= HBB_PREFIX_HLIGHT;*/
    96     } else {
    96     } else {
    97       // This is a regular chatroom message.
    97       // This is a regular chatroom message.
    98       // Let's see if we are the message sender, in which case we'll
    98       // Let's see if we are the message sender, in which case we'll
    99       // highlight it.
    99       // highlight it.
   100       const char *nick = buddy_getnickname(roster_usr->data);
   100       const char *nick = buddy_getnickname(roster_usr->data);