Fix marking all dmails as read not working fully
This commit is contained in:
@@ -53,6 +53,7 @@ class DmailsController < ApplicationController
|
||||
Dmail.visible.unread.each do |x|
|
||||
x.update_column(:is_read, true)
|
||||
end
|
||||
CurrentUser.user.update_column(:has_mail, false)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user