From 2bb0a45b1c90fa47954b5d06efa5b47d31f962ae Mon Sep 17 00:00:00 2001 From: Cory Chaplin Date: Fri, 4 Apr 2014 09:47:33 +0200 Subject: [PATCH] Fix missing nickname in actions --- client/assets/text_themes/default.json | 2 +- client/assets/text_themes/symbols.json | 2 +- client/src/models/application.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/assets/text_themes/default.json b/client/assets/text_themes/default.json index 44dc8db..4efa452 100644 --- a/client/assets/text_themes/default.json +++ b/client/assets/text_themes/default.json @@ -41,7 +41,7 @@ "privmsg": "%T", "ctcp": "CTCP: %T", "notice": "%T", - "action": "* %T", + "action": "* %N %T", "whois_ident": "%N [%N!%J@%H] * %T", "whois": "%T", "who": "%N [%N!%J@%H] * %R", diff --git a/client/assets/text_themes/symbols.json b/client/assets/text_themes/symbols.json index 32dac6f..cfa2591 100644 --- a/client/assets/text_themes/symbols.json +++ b/client/assets/text_themes/symbols.json @@ -41,7 +41,7 @@ "privmsg": "%T", "ctcp": "[CTCP] %T", "notice": "%C13%T", - "action": "%C13* %T", + "action": "%C13* %N %T", "whois_ident": "%C14%N [%N!%J@%H] * %T", "whois": "%C14%T", "who": "%N [%N!%J@%H] * %R", diff --git a/client/src/models/application.js b/client/src/models/application.js index 4c36745..08678b7 100644 --- a/client/src/models/application.js +++ b/client/src/models/application.js @@ -709,7 +709,7 @@ } var panel = _kiwi.app.panels().active; - panel.addMsg('', styleText('action', {'%T': _kiwi.app.connections.active_connection.get('nick') + ' ' + ev.params.join(' ')}), 'action'); + panel.addMsg('', styleText('action', {'%N': _kiwi.app.connections.active_connection.get('nick'), '%T': ev.params.join(' ')}), 'action'); this.connections.active_connection.gateway.action(panel.get('name'), ev.params.join(' ')); } -- 2.25.1