discord-jadx/app/src/main/java/com/discord/stores/StoreAnalytics$ackMessage$1...

50 lines
2.3 KiB
Java

package com.discord.stores;
import com.discord.api.channel.Channel;
import com.discord.utilities.analytics.AnalyticsTracker;
import d0.t.h0;
import d0.z.d.o;
import java.util.Map;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreAnalytics.kt */
public final class StoreAnalytics$ackMessage$1 extends o implements Function0<Unit> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ StoreAnalytics this$0;
/* compiled from: StoreAnalytics.kt */
/* renamed from: com.discord.stores.StoreAnalytics$ackMessage$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Map<String, ? extends Object>> {
public final /* synthetic */ Map $properties;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(Map map) {
super(0);
this.$properties = map;
}
/* Return type fixed from 'java.util.Map<java.lang.String, java.lang.Object>' to match base method */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final Map<String, ? extends Object> mo1invoke() {
return this.$properties;
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreAnalytics$ackMessage$1(StoreAnalytics storeAnalytics, long j) {
super(0);
this.this$0 = storeAnalytics;
this.$channelId = j;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
Channel findChannelByIdInternal$app_productionBetaRelease = StoreAnalytics.access$getStores$p(this.this$0).getChannels$app_productionBetaRelease().findChannelByIdInternal$app_productionBetaRelease(this.$channelId);
if (findChannelByIdInternal$app_productionBetaRelease != null) {
AnalyticsTracker.INSTANCE.ackMessage(findChannelByIdInternal$app_productionBetaRelease, new AnonymousClass1(h0.plus(StoreAnalytics.access$getGuildAnalyticsPropertiesInternal(this.this$0, findChannelByIdInternal$app_productionBetaRelease.f()), StoreAnalytics.getChannelSnapshotAnalyticsProperties$default(this.this$0, findChannelByIdInternal$app_productionBetaRelease, false, 2, (Object) null))));
}
}
}