Przeglądaj źródła

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

KrisVos130 8 lat temu
rodzic
commit
12c27946de
1 zmienionych plików z 0 dodań i 1 usunięć
  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);