From 00880478c49e0e8a462bbec332a16fbdca0411c7 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 23 Nov 2014 13:18:53 -0800 Subject: [PATCH] Remove yet another unneeded use of unread post order. --- src/Monitoring/Unread.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index 96f198af0..57e0b28be 100755 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -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()