Add "Mentioning messages" to the upper left sidebar.

Treat "mentioned" messages like "starred" messages for narrowing.

Lots of ugly copy/paste here.  There might be opportunity for
some cleanup in places.

(imported from commit e7629890d42643c0000e1cc85422b2a0690f2cc4)
This commit is contained in:
Steve Howell
2013-05-28 18:33:03 -04:00
parent 1004178fe1
commit 3f1b3af002
8 changed files with 19 additions and 1 deletions

View File

@@ -515,6 +515,7 @@ function add_message_metadata(message, dummy) {
message.historical = (message.flags !== undefined &&
message.flags.indexOf('historical') !== -1);
message.starred = message.flags.indexOf("starred") !== -1;
message.mentioned = message.flags.indexOf("mentioned") !== -1;
message.collapsed = message.flags.indexOf("collapsed") !== -1;
switch (message.type) {