mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove trailing whitespaces ❤️
This commit is contained in:
@@ -11,8 +11,8 @@ class Unread
|
||||
def unread_posts
|
||||
return 0 if do_not_notify?(@topic_user.notification_level)
|
||||
result = ((@topic_user.seen_post_count||0) - (@topic_user.last_read_post_number||0))
|
||||
result = 0 if result < 0
|
||||
result
|
||||
result = 0 if result < 0
|
||||
result
|
||||
end
|
||||
|
||||
def new_posts
|
||||
|
Reference in New Issue
Block a user