From 0203de39a535d58b3a350956e844903611c9e055 Mon Sep 17 00:00:00 2001 From: anekos Date: Sun, 1 Aug 2010 01:24:25 +0000 Subject: 変数名まつがい git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38112 d0d07461-0603-4401-acd4-de1884942a52 --- twittperator/reply-popup-alert.tw | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'twittperator/reply-popup-alert.tw') diff --git a/twittperator/reply-popup-alert.tw b/twittperator/reply-popup-alert.tw index 153a59c..c742356 100755 --- a/twittperator/reply-popup-alert.tw +++ b/twittperator/reply-popup-alert.tw @@ -5,7 +5,7 @@ */ (function () { - let screenName = liberator.globalVariables.twittperator_plugin_popup_reply_username; + let screenName = liberator.globalVariables.twittperator_plugin_reply_popup_alert_username; function popupAlert (iconPath, title, text, buttonEnabled, a, b) { const ALERT_SVC = @@ -20,6 +20,8 @@ plugins.twittperator.ChirpUserStream.addListener( function onMsg (msg, raw) { + if (msg.text && msg.user) + liberator.log(msg.user.screen_name + ' -> ' + msg.in_reply_to_screen_name + ': ' + msg.text); if (msg.text && msg.user && msg.in_reply_to_screen_name === screenName) simplePopupAlert(msg.user.screen_name, msg.text, msg.user.profile_image_url); } -- cgit v1.2.3