discord-jadx/app/src/main/java/com/discord/stores/StoreLurking$startLurkingAn...

32 lines
1.5 KiB
Java

package com.discord.stores;
import com.discord.stores.StoreLurking$startLurkingAndNavigate$1;
import com.discord.utilities.channel.ChannelSelector;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreLurking.kt */
public final class StoreLurking$startLurkingAndNavigate$1$1$jumpToDestination$1 extends o implements Function0<Unit> {
public final /* synthetic */ Long $channelId;
public final /* synthetic */ StoreLurking$startLurkingAndNavigate$1.AnonymousClass1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreLurking$startLurkingAndNavigate$1$1$jumpToDestination$1(StoreLurking$startLurkingAndNavigate$1.AnonymousClass1 r1, Long l) {
super(0);
this.this$0 = r1;
this.$channelId = l;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
Long l;
Long l2 = this.$channelId;
if (l2 == null || ((l2 != null && l2.longValue() == 0) || ((l = this.$channelId) != null && l.longValue() == -1))) {
StoreLurking.access$getStream$p(this.this$0.this$0.this$0).getGuildSelected$app_productionBetaRelease().set(this.this$0.this$0.$guildId);
} else {
ChannelSelector.selectChannel$default(ChannelSelector.Companion.getInstance(), this.this$0.this$0.$guildId, this.$channelId.longValue(), null, null, 12, null);
}
}
}