app/models/mailbox.rb in mailboxer-0.5.5 vs app/models/mailbox.rb in mailboxer-0.6.0
- old
+ new
@@ -44,10 +44,10 @@
if (options[:read].present? and options[:read]==false) or (options[:unread].present? and options[:unread]==true)
conv = conv.unread(@messageable)
end
- return conv.uniq
+ return conv
end
#Returns the conversations in the inbox of messageable
#
#Same as conversations({:mailbox_type => 'inbox'})