discord-jadx/app/src/main/java/com/discord/stores/StorePendingReplies$onCreat...

36 lines
1.7 KiB
Java

package com.discord.stores;
import com.airbnb.lottie.parser.AnimatableValueParser;
import com.discord.api.channel.Channel;
import com.discord.api.message.MessageReference;
import com.discord.models.message.Message;
import com.discord.stores.StorePendingReplies;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: StorePendingReplies.kt */
public final class StorePendingReplies$onCreatePendingReply$1 extends o implements Function0<Unit> {
public final /* synthetic */ Channel $channel;
public final /* synthetic */ Message $message;
public final /* synthetic */ boolean $shouldMention;
public final /* synthetic */ boolean $showMentionToggle;
public final /* synthetic */ StorePendingReplies this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StorePendingReplies$onCreatePendingReply$1(StorePendingReplies storePendingReplies, Channel channel, Message message, boolean z2, boolean z3) {
super(0);
this.this$0 = storePendingReplies;
this.$channel = channel;
this.$message = message;
this.$shouldMention = z2;
this.$showMentionToggle = z3;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StorePendingReplies.access$getPendingReplies$p(this.this$0).put(Long.valueOf(this.$channel.h()), new StorePendingReplies.PendingReply(new MessageReference(AnimatableValueParser.t1(this.$channel) ? null : Long.valueOf(this.$channel.f()), Long.valueOf(this.$channel.h()), Long.valueOf(this.$message.getId())), this.$message, this.$shouldMention, this.$showMentionToggle));
this.this$0.markChanged();
}
}