Require people replying to diary notifications to be subscribed
This commit is contained in:
parent
a1b179fa38
commit
eeb8bbba49
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if recipient = ARGV[0].match(/^c-(\d+)-(\d+)-(.*)$/)
|
|||
comment = DiaryComment.find(recipient[1])
|
||||
digest = comment.digest
|
||||
date = comment.created_at
|
||||
from = User.find(recipient[2])
|
||||
from = comment.diary_entry.subscribers.find(recipient[2])
|
||||
to = comment.user
|
||||
token = recipient[3]
|
||||
elsif recipient = ARGV[0].match(/^m-(\d+)-(.*)$/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue