186 |
186 |
activity(:favorite, "#{message.user[:idname]}: #{message.to_s}",
|
187 |
187 |
description:("@#{user[:idname]} がふぁぼふぁぼしました\n"+
|
188 |
188 |
"@#{message.user[:idname]}: #{message.to_s}\n"+
|
189 |
|
"https://twitter.com/#{message.user[:idname]}/statuses/#{message[:id]}"),
|
|
189 |
"https://twitter.com/#{message.user[:idname]}/status/#{message[:id]}"),
|
190 |
190 |
icon: user[:profile_image_url],
|
191 |
191 |
related: message.user.is_me? || user.is_me?,
|
192 |
192 |
service: service)
|
... | ... | |
196 |
196 |
activity(:unfavorite, "#{message.user[:idname]}: #{message.to_s}",
|
197 |
197 |
description:("@#{user[:idname]} があんふぁぼしました\n"+
|
198 |
198 |
"@#{message.user[:idname]}: #{message.to_s}\n"+
|
199 |
|
"https://twitter.com/#{message.user[:idname]}/statuses/#{message[:id]}"),
|
|
199 |
"https://twitter.com/#{message.user[:idname]}/status/#{message[:id]}"),
|
200 |
200 |
icon: user[:profile_image_url],
|
201 |
201 |
related: message.user.is_me? || user.is_me?,
|
202 |
202 |
service: service)
|
... | ... | |
208 |
208 |
activity(:retweet, retweet.to_s,
|
209 |
209 |
description:("@#{retweet.user[:idname]} がリツイートしました\n"+
|
210 |
210 |
"@#{source.user[:idname]}: #{source.to_s}\n"+
|
211 |
|
"https://twitter.com/#{source.user[:idname]}/statuses/#{source[:id]}"),
|
|
211 |
"https://twitter.com/#{source.user[:idname]}/status/#{source[:id]}"),
|
212 |
212 |
icon: retweet.user[:profile_image_url],
|
213 |
213 |
date: retweet[:created],
|
214 |
214 |
related: (retweet.user.is_me? || source && source.user.is_me?),
|