19 lines
834 B
Java
19 lines
834 B
Java
package com.discord.stores;
|
|
|
|
import com.discord.models.domain.ModelNotificationSettings;
|
|
import j0.k.b;
|
|
import java.util.Map;
|
|
/* compiled from: StoreUserGuildSettings.kt */
|
|
public final class StoreUserGuildSettings$observeGuildSettings$2<T, R> implements b<Map<Long, ? extends ModelNotificationSettings>, ModelNotificationSettings> {
|
|
public final /* synthetic */ long $guildId;
|
|
|
|
public StoreUserGuildSettings$observeGuildSettings$2(long j) {
|
|
this.$guildId = j;
|
|
}
|
|
|
|
public final ModelNotificationSettings call(Map<Long, ? extends ModelNotificationSettings> map) {
|
|
ModelNotificationSettings modelNotificationSettings = (ModelNotificationSettings) map.get(Long.valueOf(this.$guildId));
|
|
return modelNotificationSettings != null ? modelNotificationSettings : new ModelNotificationSettings();
|
|
}
|
|
}
|