From 7d7c6975edc13d6f285c00dfc8a4f1a98ffa6702 Mon Sep 17 00:00:00 2001 From: dequis Date: Wed, 28 Mar 2018 23:36:03 -0300 Subject: otr: add target param to the unencrypted 'message private' signal Same case as the previous commit. --- src/otr/otr-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/otr/otr-ops.c b/src/otr/otr-ops.c index 9359e63e..4e8c4e81 100644 --- a/src/otr/otr-ops.c +++ b/src/otr/otr-ops.c @@ -183,7 +183,7 @@ static void ops_handle_msg_event(void *opdata, OtrlMessageEvent msg_event, ConnC * submit a patch or email me a better way. */ signal_remove("message private", (SIGNAL_FUNC) sig_message_private); - signal_emit("message private", 4, server, message, username, server->connrec->address); + signal_emit("message private", 5, server, message, username, server->connrec->address, server->nick); signal_add_first("message private", (SIGNAL_FUNC) sig_message_private); break; case OTRL_MSGEVENT_RCVDMSG_UNRECOGNIZED: -- cgit v1.2.3