aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator
diff options
context:
space:
mode:
authoranekos2012-08-08 00:29:27 +0900
committeranekos2012-08-08 00:29:27 +0900
commit1b7554d3c50035bed96c105605d5a5b3dc325f17 (patch)
treedf8e3e9e9668a88fc2da498cdd7f8ead5f559c1d /twittperator
parent41d0ffe20fa05673232203769a66397f787fe519 (diff)
downloadvimperator-plugins-1b7554d3c50035bed96c105605d5a5b3dc325f17.tar.bz2
Apply https://gist.github.com/2573594 .
Diffstat (limited to 'twittperator')
-rw-r--r--twittperator/twsidebar.tw5
1 files changed, 5 insertions, 0 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw
index 09e3a65..f0c0cba 100644
--- a/twittperator/twsidebar.tw
+++ b/twittperator/twsidebar.tw
@@ -129,6 +129,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
let nameClass = t.protected ? className('tweet-protected') : '';
xml =
<richlistitem
+ id={t.id}
class={richlistitemClasses.join(' ')}
style={[
"font-size: " + px(Config.fontSize - (t.text.length > 70 ? 2 : 0)),
@@ -316,6 +317,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
if (msg.direct_message) {
t = {
+ id: msg.id,
name: msg.direct_message.sender.screen_name,
img: msg.direct_message.sender.profile_image_url,
text: msg.direct_message.text,
@@ -324,6 +326,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
};
} else if (msg.retweeted_status) {
t = {
+ id: msg.id,
name: my ? msg.user.screen_name : msg.retweeted_status.user.screen_name,
img: my ? msg.user.profile_image_url : msg.retweeted_status.user.profile_image_url,
text: msg.retweeted_status.text,
@@ -367,6 +370,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
dummy = true;
} else if (msg.user && msg.text && msg.in_reply_to_screen_name == screenName) {
t = {
+ id: msg.id,
name: msg.user.screen_name,
img: msg.user.profile_image_url,
text: msg.text,
@@ -374,6 +378,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
};
} else if (msg.user && msg.text) {
t = {
+ id: msg.id,
name: msg.user.screen_name,
img: msg.user.profile_image_url,
text: msg.text,