From 813c70b506c4a2fd7f2ffa0c53ded5669d1ef8ec Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 18 Apr 2015 09:57:24 -0400 Subject: [PATCH] Small optimization: in 'listupdate' event add tags to messages only on list init --- plugins/kolab_tags/kolab_tags.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/kolab_tags/kolab_tags.js b/plugins/kolab_tags/kolab_tags.js index 3b1b5445..222fdf95 100644 --- a/plugins/kolab_tags/kolab_tags.js +++ b/plugins/kolab_tags/kolab_tags.js @@ -618,6 +618,9 @@ function message_list_update_tags(e) subject.prepend(boxes); }); + + // we don't want to do this on every listupdate event + rcmail.env.message_tags = null; } // add tags to message subject in message preview