プロジェクト

全般

プロフィール

バグ #516 » a.patch

Satoshi Okuno, 2012-09-19 12:56

差分を表示:

core/plugin/profile/profile.rb (作業コピー)
18 18
                            :screen_name => idname)
19 19
        Plugin.call(:show_profile, Service.primary, user) if user } end }
20 20

  
21
  filter_show_filter do |messages|
22
    muted_users = UserConfig[:muted_users]
23
    if muted_users && !muted_users.empty?
24
      [messages.select{ |m| !muted_users.include?(m.idname) && (m.receive_user_screen_names & muted_users).empty? }]
25
    else
26
      [messages] end end
27

  
21 28
  on_show_profile do |service, user|
22 29
    container = profile_head(user)
23 30
    i_profile = tab nil, "#{user[:name]} のプロフィール}" do
    (1-1/1)