diff options
author | pdp8 <pdp8@pdp8.info> | 2023-09-10 20:20:16 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2023-09-10 20:20:16 +0200 |
commit | da017e7cd9394cb759ee74440c5fd25860063905 (patch) | |
tree | f4024d152e7326182525df68870c8ef101389345 /server.rb | |
parent | 8d9d86a81dd207060b6878787551d43d38f855a0 (diff) |
empty objects fixed
Diffstat (limited to 'server.rb')
-rw-r--r-- | server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -142,6 +142,7 @@ helpers do return unless @object and @object['type'] != 'Person' @object = fetch(@object) if @object.is_a? String and @object.match(/^http/) + return unless @object if @activity['type'] != 'Update' && (@object['id'] and File.readlines(VISITED, chomp: true).include? @object['id']) return end |