package com.discord.stores; import android.content.Context; import android.content.Intent; import android.view.View; import com.discord.api.channel.Channel; import com.discord.models.message.Message; import com.discord.utilities.intent.IntentUtils; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: StoreNotifications.kt */ public final class StoreNotifications$displayPopup$1 extends o implements Function1 { public final /* synthetic */ Channel $channel; public final /* synthetic */ Message $message; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreNotifications$displayPopup$1(Channel channel, Message message) { super(1); this.$channel = channel; this.$message = message; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(View view) { invoke(view); return Unit.a; } public final void invoke(View view) { m.checkNotNullParameter(view, "view"); Intent selectChannel = IntentUtils.RouteBuilders.selectChannel(this.$channel.h(), this.$channel.f(), Long.valueOf(this.$message.getId())); selectChannel.putExtra("com.discord.intent.ORIGIN_SOURCE", "com.discord.intent.ORIGIN_NOTIF_INAPP"); IntentUtils intentUtils = IntentUtils.INSTANCE; Context context = view.getContext(); m.checkNotNullExpressionValue(context, "view.context"); intentUtils.consumeExternalRoutingIntent(selectChannel, context); } }