Modified ACTION for groupchat
authorJason Rodriguez <jason@catloaf.net>
Sun, 21 Apr 2013 01:12:21 +0000 (20:12 -0500)
committerJason Rodriguez <jason@catloaf.net>
Sun, 21 Apr 2013 01:12:21 +0000 (20:12 -0500)
answerscripts.c

index 4104da2..48f6611 100755 (executable)
@@ -205,7 +205,7 @@ static void received_cm_msg_cb(PurpleAccount *account, char *who, char *buffer,
                }
 
                //Export variables to environment
-               setenv(ENV_PREFIX "ACTION", "IM", 1);   //what happend: im, chat, show setting dialog, event, etc...
+               setenv(ENV_PREFIX "ACTION", "CHAT", 1); //what happend: im, chat, show setting dialog, event, etc...
                setenv(ENV_PREFIX "MSG", message, 1);   //text of the message
                setenv(ENV_PREFIX "PROTOCOL", protocol_id, 1);  //protocol used to deliver the message. eg.: xmpp, irc,...
                setenv(ENV_PREFIX "R_NAME", who, 1);    //ID of remote user - "buddy"
This page took 0.087417 seconds and 4 git commands to generate.