Writing out more tests, fixed some bugs
This commit is contained in:
parent
e14b76c7cb
commit
b640f35621
23 changed files with 1069 additions and 41 deletions
|
@ -17,7 +17,7 @@ class ProcessFeedService < BaseService
|
|||
status = Status.find_by(uri: activity_id(entry))
|
||||
|
||||
# If we already have a post and the verb is now "delete", we gotta delete it and move on!
|
||||
if verb(entry) == :delete
|
||||
if !status.nil? && verb(entry) == :delete
|
||||
delete_post!(status)
|
||||
next
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue