diff options
-rwxr-xr-x | twittperator/reply-popup-alert.tw | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |