31 lines
1.3 KiB
Java
31 lines
1.3 KiB
Java
package com.discord.widgets.share;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.api.channel.ChannelUtils;
|
|
import com.discord.models.user.User;
|
|
import com.discord.widgets.user.search.WidgetGlobalSearchModel;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetIncomingShare.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetIncomingShare$onSendClicked$filter$2 extends o implements Function1<Channel, Boolean> {
|
|
public final /* synthetic */ WidgetGlobalSearchModel.ItemDataPayload $receiver;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public WidgetIncomingShare$onSendClicked$filter$2(WidgetGlobalSearchModel.ItemDataPayload itemDataPayload) {
|
|
super(1);
|
|
this.$receiver = itemDataPayload;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Boolean invoke(Channel channel) {
|
|
return Boolean.valueOf(invoke2(channel));
|
|
}
|
|
|
|
/* renamed from: invoke reason: avoid collision after fix types in other method */
|
|
public final boolean invoke2(Channel channel) {
|
|
User a;
|
|
return (channel == null || (a = ChannelUtils.a(channel)) == null || a.getId() != ((WidgetGlobalSearchModel.ItemUser) this.$receiver).getUser().getId()) ? false : true;
|
|
}
|
|
}
|