2021-06-27 20:44:35 +00:00
|
|
|
package com.discord.stores;
|
|
|
|
|
|
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
|
|
import com.discord.api.channel.Channel;
|
2021-06-27 20:53:42 +00:00
|
|
|
import com.discord.api.message.Message;
|
2021-06-27 20:44:35 +00:00
|
|
|
import com.discord.api.message.MessageReference;
|
|
|
|
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;
|
2021-06-27 20:53:42 +00:00
|
|
|
public final /* synthetic */ Message $message;
|
2021-06-27 20:44:35 +00:00
|
|
|
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) */
|
2021-06-27 20:53:42 +00:00
|
|
|
public StorePendingReplies$onCreatePendingReply$1(StorePendingReplies storePendingReplies, Channel channel, Message message, boolean z2, boolean z3) {
|
2021-06-27 20:44:35 +00:00
|
|
|
super(0);
|
|
|
|
this.this$0 = storePendingReplies;
|
|
|
|
this.$channel = channel;
|
2021-06-27 20:53:42 +00:00
|
|
|
this.$message = message;
|
2021-06-27 20:44:35 +00:00
|
|
|
this.$shouldMention = z2;
|
|
|
|
this.$showMentionToggle = z3;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
|
|
|
public final void mo1invoke() {
|
2021-06-27 20:53:42 +00:00
|
|
|
StorePendingReplies.access$getPendingReplies$p(this.this$0).put(Long.valueOf(this.$channel.g()), new StorePendingReplies.PendingReply(new MessageReference(AnimatableValueParser.r1(this.$channel) ? null : Long.valueOf(this.$channel.e()), Long.valueOf(this.$channel.g()), Long.valueOf(this.$message.r())), this.$message, this.$shouldMention, this.$showMentionToggle));
|
2021-06-27 20:44:35 +00:00
|
|
|
this.this$0.markChanged();
|
|
|
|
}
|
|
|
|
}
|