Add per-stream desktop notifications

(imported from commit b4a0576847b3aec1495f017ca9805febe80c9275)
This commit is contained in:
Zev Benjamin
2013-04-08 20:14:13 -04:00
parent e754479e9c
commit f6a6a6b220
6 changed files with 41 additions and 9 deletions

View File

@@ -737,7 +737,8 @@ def gather_subscriptions(user_profile):
result.append({'name': stream_name,
'in_home_view': sub.in_home_view,
'invite_only': invite_only,
'color': sub.color})
'color': sub.color,
'notifications': sub.notifications})
return sorted(result)