From d9d0db0f019b0071120c512e6a285fa93230c9e2 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.org.ru>
Date: Wed, 14 Oct 2009 23:38:31 +0400
Subject: [PATCH] parse_counters: invalidate feed cache when counter had
 changed

---
 functions.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/functions.js b/functions.js
index db2b4a887..46d28ee7f 100644
--- a/functions.js
+++ b/functions.js
@@ -567,6 +567,8 @@ function parse_counters(reply, scheduled_call) {
 					if (row_needs_hl) { 
 						new Effect.Highlight(feedr, {duration: 1, startcolor: "#fff7d5",
 							queue: { position:'end', scope: 'EFQ-' + id, limit: 1 } } );
+
+						cache_invalidate("F:" + id);
 					}
 				} else {
 					feedctr.className = "feedCtrNoUnread";
-- 
GitLab