プロジェクト

全般

プロフィール

バグ #571 » activity.rb.diff

#! 削除対象行 - Izumi Tsutsui, 2013-03-04 22:57

差分を表示:

core/plugin/activity/activity.rb
195 195
    activity(:favorite, "#{message.user[:idname]}: #{message.to_s}",
196 196
             description:("@#{user[:idname]} がふぁぼふぁぼしました\n"+
197 197
                          "@#{message.user[:idname]}: #{message.to_s}\n"+
198
                          "https://twitter.com/#!/#{message.user[:idname]}/statuses/#{message[:id]}"),
198
                          "https://twitter.com/#{message.user[:idname]}/statuses/#{message[:id]}"),
199 199
             icon: user[:profile_image_url],
200 200
             related: message.user.is_me? || user.is_me?,
201 201
             service: service)
......
205 205
    activity(:unfavorite, "#{message.user[:idname]}: #{message.to_s}",
206 206
             description:("@#{user[:idname]} があんふぁぼしました\n"+
207 207
                          "@#{message.user[:idname]}: #{message.to_s}\n"+
208
                          "https://twitter.com/#!/#{message.user[:idname]}/statuses/#{message[:id]}"),
208
                          "https://twitter.com/#{message.user[:idname]}/statuses/#{message[:id]}"),
209 209
             icon: user[:profile_image_url],
210 210
             related: message.user.is_me? || user.is_me?,
211 211
             service: service)
......
217 217
        activity(:retweet, retweet.to_s,
218 218
                 description:("@#{retweet.user[:idname]} がリツイートしました\n"+
219 219
                              "@#{source.user[:idname]}: #{source.to_s}\n"+
220
                              "https://twitter.com/#!/#{source.user[:idname]}/statuses/#{source[:id]}"),
220
                              "https://twitter.com/#{source.user[:idname]}/statuses/#{source[:id]}"),
221 221
                 icon: retweet.user[:profile_image_url],
222 222
                 date: retweet[:created],
223 223
                 related: (retweet.user.is_me? || source && source.user.is_me?),
......
229 229
      activity(:list_member_added, "@#{user[:idname]}が#{list[:full_name]}に追加されました",
230 230
               description:("@#{user[:idname]} が #{list[:full_name]} に追加されました\n"+
231 231
                            "#{list[:description]} (by @#{list.user[:idname]})\n"+
232
                            "https://twitter.com/#!/#{list.user[:idname]}/#{list[:slug]}"),
232
                            "https://twitter.com/#{list.user[:idname]}/#{list[:slug]}"),
233 233
               icon: user[:profile_image_url],
234 234
               related: user.is_me? || source_user.is_me?,
235 235
               service: service) end
......
240 240
      activity(:list_member_removed, "@#{user[:idname]}が#{list[:full_name]}から削除されました",
241 241
               description:("@#{user[:idname]} が #{list[:full_name]} から削除されました\n"+
242 242
                            "#{list[:description]} (by @#{list.user[:idname]})\n"+
243
                            "https://twitter.com/#!/#{list.user[:idname]}/#{list[:slug]}"),
243
                            "https://twitter.com/#{list.user[:idname]}/#{list[:slug]}"),
244 244
               icon: user[:profile_image_url],
245 245
               related: user.is_me? || source_user.is_me?,
246 246
               service: service) end
    (1-1/1)