プロジェクト

全般

プロフィール

機能 #1039 » 0001-mikutter-3.5.patch

グッとガッツポーズしたら動いた - toshi_a 初音, 2017-06-06 20:41

差分を表示:

load_more.rb
43 43
          max_id: opt.messages.first[:id] - 1
44 44
        }
45 45
        Service.primary.home_timeline(params).next{ |messages|
46
          Plugin.call(:update, Service, messages)
47
          Plugin.call(:mention, Service, messages.select{ |m| m.to_me? })
48
          Plugin.call(:mypost, Service, messages.select{ |m| m.from_me? })
46
          Plugin.call(:update, Service.primary, messages)
47
          Plugin.call(:mention, Service.primary, messages.select{ |m| m.to_me? })
48
          Plugin.call(:mypost, Service.primary, messages.select{ |m| m.from_me? })
49 49
        }
50 50

  
51 51
      elsif opt.widget.slug == :mentions
......
54 54
          max_id: opt.messages.first[:id] - 1
55 55
        }
56 56
        Service.primary.mentions(params).next{ |messages|
57
          Plugin.call(:update, Service, messages)
58
          Plugin.call(:mention, Service, messages)
59
          Plugin.call(:mypost, Service, messages.select{ |m| m.from_me? })
57
          Plugin.call(:update, Service.primary, messages)
58
          Plugin.call(:mention, Service.primary, messages)
59
          Plugin.call(:mypost, Service.primary, messages.select{ |m| m.from_me? })
60 60
        }.terminate()
61 61

  
62 62
      elsif opt.widget.slug =~ /list_@(.+?)\/(.+)/
......
85 85
      elsif opt.widget.slug == :own_favorites_list
86 86
        screen_name = Service.primary.user_obj[:idname]
87 87
        Plugin.call(:retrieve_favorites_list,
88
                    Service,
88
                    Service.primary,
89 89
                    screen_name,
90 90
                    opt.widget.slug,
91 91
                    {
......
96 96
      elsif opt.widget.parent.slug =~ /favorites_list_(.+)_.+_.+_.+/
97 97
        screen_name = $1
98 98
        Plugin.call(:retrieve_favorites_list,
99
                    Service,
99
                    Service.primary,
100 100
                    screen_name,
101 101
                    opt.widget.slug,
102 102
                    {
    (1-1/1)