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