discord-jadx/app/src/main/java/com/discord/stores/StoreMessageAck$ack$1.java

39 lines
1.9 KiB
Java

package com.discord.stores;
import com.discord.api.channel.Channel;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreMessageAck.kt */
public final class StoreMessageAck$ack$1 extends o implements Function0<Unit> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ boolean $clearLock;
public final /* synthetic */ boolean $isLockedAck;
public final /* synthetic */ StoreMessageAck this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreMessageAck$ack$1(StoreMessageAck storeMessageAck, long j, boolean z2, boolean z3) {
super(0);
this.this$0 = storeMessageAck;
this.$channelId = j;
this.$isLockedAck = z2;
this.$clearLock = z3;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
Channel findChannelByIdInternal$app_productionBetaRelease = StoreMessageAck.access$getStream$p(this.this$0).getChannels$app_productionBetaRelease().findChannelByIdInternal$app_productionBetaRelease(this.$channelId);
if (findChannelByIdInternal$app_productionBetaRelease == null) {
return;
}
if (findChannelByIdInternal$app_productionBetaRelease.A() != 4) {
StoreMessageAck.access$internalAck(this.this$0, findChannelByIdInternal$app_productionBetaRelease, this.$isLockedAck, this.$clearLock);
return;
}
for (Channel channel : StoreMessageAck.access$getStream$p(this.this$0).getChannels$app_productionBetaRelease().findChannelsByCategoryInternal$app_productionBetaRelease(findChannelByIdInternal$app_productionBetaRelease.f(), findChannelByIdInternal$app_productionBetaRelease.h())) {
StoreMessageAck.access$internalAck(this.this$0, channel, this.$isLockedAck, this.$clearLock);
}
}
}