Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/hooks.c @ 1887:b210c3d0de1f
Provide raw message in message-in hooks
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 10 Apr 2010 21:56:53 +0200 |
parents | 2e133fc0e3d9 |
children | ea3f9b4f3558 |
line wrap: on
line diff
--- a/mcabber/mcabber/hooks.c Fri Apr 09 21:54:57 2010 +0200 +++ b/mcabber/mcabber/hooks.c Sat Apr 10 21:56:53 2010 +0200 @@ -238,7 +238,7 @@ hk_arg_t args[] = { { "jid", bjid }, { "resource", resname }, - { "message", wmsg }, + { "message", msg }, { "groupchat", is_groupchat ? "true" : "false" }, { NULL, NULL }, }; @@ -386,7 +386,7 @@ hk_arg_t args[] = { { "jid", bjid }, { "resource", resname }, - { "message", wmsg }, + { "message", msg }, { "groupchat", is_groupchat ? "true" : "false" }, { "attention", attention ? "true" : "false" }, { NULL, NULL },