REQ-3284: 推送声音
This commit is contained in:
parent
e57c335178
commit
59418d89c2
@ -16,7 +16,7 @@ import java.util.Set;
|
||||
public class PushChannelConfig {
|
||||
private Set<PushChannel> pushChannels = Sets.newHashSet(
|
||||
PushChannel.NIM, PushChannel.YOU_MENG);
|
||||
private Set<PushChannel> pushChannelsIfAmbiguityPresent = pushChannels;
|
||||
private Set<PushChannel> ambiguityPushChannels = pushChannels;
|
||||
|
||||
private PushDeviceVersion androidNimPush = new PushDeviceVersion();
|
||||
private PushDeviceVersion iosNimPush = new PushDeviceVersion();
|
||||
|
||||
@ -51,7 +51,7 @@ public class PushDeviceService {
|
||||
List<ApkDeviceMaxCodeResp> devices) {
|
||||
Supplier<Boolean> ambiguityPush = () -> {
|
||||
Set<PushChannel> channels = cfg
|
||||
.getPushChannels().getPushChannelsIfAmbiguityPresent();
|
||||
.getPushChannels().getAmbiguityPushChannels();
|
||||
return channels.contains(pushChannel);
|
||||
};
|
||||
if (CollectionUtils.isEmpty(devices))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user