summaryrefslogtreecommitdiff
path: root/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'server.rb')
-rw-r--r--server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.rb b/server.rb
index 2eb7de3..f44e8f0 100644
--- a/server.rb
+++ b/server.rb
@@ -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