Add ability to pin streams to top of the streams sidebar list.

Based on work by Lauren Long, with some tweaks by tabbott.
This commit is contained in:
Kartik Maji
2016-06-30 22:26:09 -07:00
committed by Tim Abbott
parent a32167d921
commit f8bb7503e6
14 changed files with 247 additions and 12 deletions

View File

@@ -488,7 +488,8 @@ def json_subscription_property(request, user_profile, subscription_data=REQ(
property_converters = {"color": check_string, "in_home_view": check_bool,
"desktop_notifications": check_bool,
"audible_notifications": check_bool}
"audible_notifications": check_bool,
"pin_to_top": check_bool}
response_data = []
for change in subscription_data: