Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Apply https://gist.github.com/2573594 .

  • Loading branch information...
commit 1b7554d3c50035bed96c105605d5a5b3dc325f17 1 parent 41d0ffe
@anekos anekos authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 twittperator/twsidebar.tw
View
5 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,
Please sign in to comment.
Something went wrong with that request. Please try again.