diff --git a/app/models/journals_for_message.rb b/app/models/journals_for_message.rb index d8781abb7..74e96094f 100644 --- a/app/models/journals_for_message.rb +++ b/app/models/journals_for_message.rb @@ -24,7 +24,7 @@ class JournalsForMessage < ActiveRecord::Base def act_as_activity if self.jour_type == 'Principal' - unless self.user_id == self.jour.id && self.user_id != self.reply_id + unless self.user_id == self.jour.id && self.user_id != self.reply_id && self.reply_id !=0 self.acts << Activity.new(:user_id => self.user_id) end end