discord-jadx/app/src/main/java/com/discord/stores/StoreStream$initGatewaySock...

34 lines
1.3 KiB
Java

package com.discord.stores;
import com.discord.api.presence.Presence;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreStream.kt */
public final class StoreStream$initGatewaySocketListeners$44 extends o implements Function1<Presence, Unit> {
public final /* synthetic */ StoreStream this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreStream$initGatewaySocketListeners$44(StoreStream storeStream) {
super(1);
this.this$0 = storeStream;
}
/* 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 // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(Presence presence) {
invoke(presence);
return Unit.a;
}
public final void invoke(Presence presence) {
StoreStream storeStream = this.this$0;
Long d = presence.d();
long longValue = d != null ? d.longValue() : 0;
m.checkNotNullExpressionValue(presence, "it");
StoreStream.access$handlePresenceUpdate(storeStream, longValue, presence);
}
}