fix: use the right stream for cooldown stream

This commit is contained in:
groovinchip
2021-07-22 13:46:04 -04:00
parent da3cf4d6de
commit c2b6ea13d8
@@ -127,7 +127,7 @@ class Channel {
/// Cooldown count as a stream
Stream<int?>? get cooldownStream {
_checkInitialized();
return state?.cooldownStateStream.map((cs) => cs.channel?.cooldown);
return state?.channelStateStream.map((cs) => cs.channel?.cooldown);
}
/// Channel creation date