Remove yet another unneeded use of unread post order.
This commit is contained in:
parent
a502db7f47
commit
00880478c4
@ -80,11 +80,12 @@ Unread =
|
||||
Unread.addPostQuotingYou post
|
||||
|
||||
addPosts: (posts) ->
|
||||
oldCount = Unread.posts.length
|
||||
for post in posts
|
||||
Unread.addPost post
|
||||
if Conf['Unread Line'] and not Conf['Quote Threading']
|
||||
# Force line on visible threads if there were no unread posts previously.
|
||||
Unread.setLine Unread.posts.first?.data in posts
|
||||
Unread.setLine (oldCount is 0 and Unread.posts.length isnt 0)
|
||||
Unread.read()
|
||||
Unread.update()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user