102 lines
2.5 KiB
Smali
102 lines
2.5 KiB
Smali
|
.class public final Lcom/discord/widgets/chat/managereactions/ManageReactionsModelProvider$get$1$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ManageReactionsModel.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lrx/functions/Func2;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/widgets/chat/managereactions/ManageReactionsModelProvider$get$1;->invoke(Z)Lrx/Observable;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T1:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"T2:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Ljava/lang/Object;",
|
||
|
"Lrx/functions/Func2<",
|
||
|
"Ljava/lang/Long;",
|
||
|
"Lcom/discord/models/domain/ModelGuild;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic $isMeMfaEnabled:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Z)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-boolean p1, p0, Lcom/discord/widgets/chat/managereactions/ManageReactionsModelProvider$get$1$1;->$isMeMfaEnabled:Z
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final call(Ljava/lang/Long;Lcom/discord/models/domain/ModelGuild;)Ljava/lang/Boolean;
|
||
|
.locals 3
|
||
|
|
||
|
if-eqz p2, :cond_0
|
||
|
|
||
|
const-wide/16 v0, 0x2000
|
||
|
|
||
|
iget-boolean v2, p0, Lcom/discord/widgets/chat/managereactions/ManageReactionsModelProvider$get$1$1;->$isMeMfaEnabled:Z
|
||
|
|
||
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelGuild;->getMfaLevel()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-static {v0, v1, p1, v2, p2}, Lcom/discord/utilities/permissions/PermissionUtils;->canAndIsElevated(JLjava/lang/Long;ZI)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Ljava/lang/Long;
|
||
|
|
||
|
check-cast p2, Lcom/discord/models/domain/ModelGuild;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/chat/managereactions/ManageReactionsModelProvider$get$1$1;->call(Ljava/lang/Long;Lcom/discord/models/domain/ModelGuild;)Ljava/lang/Boolean;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|