ProfileGroupActivity$8.smali

.class Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity$8;
.super Ljava/lang/Object;
.source "ProfileGroupActivity.java"

# interfaces
.implements Lim/tpelyyftgw/ui/ChatRightsEditActivity$ChatRightsEditActivityDelegate;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->lambda$createView$10(Lim/tpelyyftgw/tgnet/TLRPC$Chat;Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;

    .line 1121
    iput-object p1, p0, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity$8;->this$0:Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public didChangeOwner(Lim/tpelyyftgw/tgnet/TLRPC$User;)V
    .registers 6
    .param p1, "user"    # Lim/tpelyyftgw/tgnet/TLRPC$User;

    .line 1129
    iget-object v0, p0, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity$8;->this$0:Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;

    # getter for: Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->undoView:Lim/tpelyyftgw/ui/components/UndoView;
    invoke-static {v0}, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->access$5900(Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;)Lim/tpelyyftgw/ui/components/UndoView;

    move-result-object v0

    iget-object v1, p0, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity$8;->this$0:Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;

    # getter for: Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->chat_id:I
    invoke-static {v1}, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->access$200(Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;)I

    move-result v1

    neg-int v1, v1

    int-to-long v1, v1

    iget-object v3, p0, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity$8;->this$0:Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;

    # getter for: Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->currentChat:Lim/tpelyyftgw/tgnet/TLRPC$Chat;
    invoke-static {v3}, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->access$5500(Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;)Lim/tpelyyftgw/tgnet/TLRPC$Chat;

    move-result-object v3

    iget-boolean v3, v3, Lim/tpelyyftgw/tgnet/TLRPC$Chat;->megagroup:Z

    if-eqz v3, :cond_1b

    const/16 v3, 0xa

    goto :goto_1d

    :cond_1b
    const/16 v3, 0x9

    :goto_1d
    invoke-virtual {v0, v1, v2, v3, p1}, Lim/tpelyyftgw/ui/components/UndoView;->showWithAction(JILjava/lang/Object;)V

    .line 1130
    return-void
.end method

.method public didSetRights(ILim/tpelyyftgw/tgnet/TLRPC$TL_chatAdminRights;Lim/tpelyyftgw/tgnet/TLRPC$TL_chatBannedRights;Ljava/lang/String;)V
    .registers 6
    .param p1, "rights"    # I
    .param p2, "rightsAdmin"    # Lim/tpelyyftgw/tgnet/TLRPC$TL_chatAdminRights;
    .param p3, "rightsBanned"    # Lim/tpelyyftgw/tgnet/TLRPC$TL_chatBannedRights;
    .param p4, "rank"    # Ljava/lang/String;

    .line 1124
    iget-object v0, p0, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity$8;->this$0:Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/hui/chats/ProfileGroupActivity;->removeSelfFromStack()V

    .line 1125
    return-void
.end method