Remove subs.sub_pinned_or_unpinned().

This commit is contained in:
Steve Howell
2016-10-17 06:49:57 -07:00
committed by Tim Abbott
parent 5dd1c2d55f
commit e25b67af26

View File

@@ -381,14 +381,6 @@ exports.pin_or_unpin_stream = function (stream_name) {
}
};
exports.sub_pinned_or_unpinned = function (stream_name) {
var sub = stream_data.get_sub(stream_name);
if (stream_name === undefined) {
return;
}
return sub.pin_to_top;
};
exports.receives_desktop_notifications = function (stream_name) {
var sub = stream_data.get_sub(stream_name);
if (sub === undefined) {