Fix private message unread counts never displaying.

(imported from commit fda193ceba36dba2cd7b0694e15d1b927365dc26)
This commit is contained in:
Tim Abbott 2013-05-13 11:27:16 -04:00
parent 43794983e7
commit 91f8768fb7
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ function update_unread_counts() {
$.each(unread_counts["private"], function(index, obj) {
pm_count += newer_than_pointer_count(only_in_home_view(Object.keys(obj)));
});
stream_list.set_count("global", "private", pm_count);
stream_list.set_count("global", "private-message", pm_count);
home_unread_messages += pm_count;
}