Take out useless line in Reshare#receive
This commit is contained in:
parent
08f12ee348
commit
78a637f251
1 changed files with 0 additions and 3 deletions
|
|
@ -20,12 +20,9 @@ class Reshare < Post
|
|||
def receive(recipient, sender)
|
||||
local_reshare = Reshare.where(:guid => self.guid).first
|
||||
if local_reshare && local_reshare.root.author_id == recipient.person.id
|
||||
local_reshare.root.reshares << local_reshare
|
||||
|
||||
if recipient.contact_for(sender)
|
||||
local_reshare.receive(recipient, sender)
|
||||
end
|
||||
|
||||
else
|
||||
super(recipient, sender)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue