バグ #951 » 0001-display_requirements-Add-guard-to-be-message-id-unde.patch
core/plugin/display_requirements/display_requirements.rb | ||
---|---|---|
177 | 177 |
def clicked(x, y, e) |
178 | 178 |
if defined?(@hl_region) and @hl_region.point_in?(x, y) |
179 | 179 |
Plugin.call(:open, message.user) |
180 |
elsif defined?(@hr_region) and @hr_region.point_in?(x, y) |
|
180 |
elsif defined?(@hr_region) and @hr_region.point_in?(x, y) and message.respond_to?(:id)
|
|
181 | 181 |
Gtk.openurl("https://twitter.com/#{message.user.idname}/status/#{message.id}") |
182 | 182 |
else |
183 | 183 |
__clicked_l7eOfD__(x, y, e) |