Broadcast tab completing

This commit is contained in:
Vankka 2022-04-12 12:39:31 +03:00
parent 2dcde1a135
commit 8929dd48e6
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -142,6 +142,12 @@ public class ChannelConfigHelper {
return channels().computeIfAbsent(ChannelConfig.DEFAULT_KEY, key -> new BaseChannelConfig());
}
public Set<String> getKeys() {
Set<String> keys = new LinkedHashSet<>(channels().keySet());
keys.remove(ChannelConfig.DEFAULT_KEY);
return keys;
}
public Set<OrDefault<BaseChannelConfig>> getAllChannels() {
BaseChannelConfig defaultConfig = getDefault();