소스 검색

Fixed issue where stations wouldn't always skip automatically, introduced a few days earlier.

KrisVos130 8 년 전
부모
커밋
12c27946de
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      backend/logic/stations.js

+ 0 - 1
backend/logic/stations.js

@@ -106,7 +106,6 @@ module.exports = {
 			(station, next) => {
 				if (!station) return next('Station not found.');
 				notifications.unschedule(`stations.nextSong?id=${station._id}`);
-				if (subscription) notifications.remove(subscription);
 				subscription = notifications.subscribe(`stations.nextSong?id=${station._id}`, _this.skipStation(station._id), true, station);
 				if (station.paused) return next(true, station);
 				next(null, station);