discord-jadx/app/src/main/java/com/discord/stores/StoreMessagesMostRecent$obs...

25 lines
909 B
Java

package com.discord.stores;
import j0.k.b;
import java.util.Map;
/* compiled from: StoreMessagesMostRecent.kt */
public final class StoreMessagesMostRecent$observeRecentMessageIds$2<T, R> implements b<Map<Long, ? extends Long>, Long> {
public final /* synthetic */ long $channelId;
public StoreMessagesMostRecent$observeRecentMessageIds$2(long j) {
this.$channelId = j;
}
public final Long call(Map<Long, Long> map) {
Long l = map.get(Long.valueOf(this.$channelId));
return Long.valueOf(l != null ? l.longValue() : 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // j0.k.b
public /* bridge */ /* synthetic */ Long call(Map<Long, ? extends Long> map) {
return call((Map<Long, Long>) map);
}
}