From: Jason Rodriguez Date: Sun, 21 Apr 2013 01:12:21 +0000 (-0500) Subject: Modified ACTION for groupchat X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=fe0c9f8eb06bd797fbd002702502c61e5c22c0ce;p=mirrors%2Flibpurple-core-answerscripts.git Modified ACTION for groupchat --- diff --git a/answerscripts.c b/answerscripts.c index 4104da2..48f6611 100755 --- a/answerscripts.c +++ b/answerscripts.c @@ -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"