From 7ff18d4f6cdb4cdc8ac55ded36c69aec90da8ccb Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 27 Aug 2010 14:29:39 +0000 Subject: :tw!@name を修正 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38369 d0d07461-0603-4401-acd4-de1884942a52 --- twittperator.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/twittperator.js b/twittperator.js index dba631f..54d47da 100755 --- a/twittperator.js +++ b/twittperator.js @@ -28,7 +28,7 @@ let PLUGIN_INFO = twittperator Twitter Client using ChirpStream OAuth対応Twitterクライアント - 1.4.1 + 1.4.2 2.3 2.4 teramako @@ -1419,7 +1419,9 @@ let PLUGIN_INFO = result.forEach(function(msg) history.push(msg)); } } - onload(history); + // XXX API 的な仕様とは異なる挙動 + let (name = target || setting.screenName) + onload(history.filter(function(it) it.user && it.user.screen_name === name)); }); } }, // }}} -- cgit v1.2.3