forked from distok/cutthecord
82 lines
3.1 KiB
Diff
82 lines
3.1 KiB
Diff
|
Binary files com.discord-base/build/apk/classes2.dex and com.discord/build/apk/classes2.dex differ
|
||
|
Binary files com.discord-base/dist/com.discord-78204.apk and com.discord/dist/com.discord-78204.apk differ
|
||
|
diff -crB com.discord-base/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali com.discord/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali
|
||
|
*** com.discord-base/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali 2021-05-31 14:05:57.000000000 +0300
|
||
|
--- com.discord/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali 2021-06-04 21:18:08.000000000 +0300
|
||
|
***************
|
||
|
*** 601,673 ****
|
||
|
.method public onMessageAuthorAvatarClicked(Lcom/discord/models/domain/ModelMessage;J)V
|
||
|
.locals 12
|
||
|
|
||
|
- const-string v0, "message"
|
||
|
-
|
||
|
- invoke-static {p1, v0}, Ld0/b0/d/m;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
-
|
||
|
- .line 1
|
||
|
- invoke-static {p1}, Lcom/discord/utilities/guilds/PublicGuildUtils;->isPublicGuildSystemMessage(Lcom/discord/models/domain/ModelMessage;)Z
|
||
|
-
|
||
|
- move-result v0
|
||
|
-
|
||
|
- if-nez v0, :cond_1
|
||
|
-
|
||
|
- invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->isCrosspost()Z
|
||
|
-
|
||
|
- move-result v0
|
||
|
-
|
||
|
- if-eqz v0, :cond_0
|
||
|
-
|
||
|
- goto :goto_0
|
||
|
-
|
||
|
- .line 2
|
||
|
- :cond_0
|
||
|
- sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->Companion:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;
|
||
|
-
|
||
|
- invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/api/user/User;
|
||
|
-
|
||
|
- move-result-object v0
|
||
|
-
|
||
|
- invoke-virtual {v0}, Lcom/discord/api/user/User;->f()J
|
||
|
-
|
||
|
- move-result-wide v2
|
||
|
-
|
||
|
- invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getChannelId()J
|
||
|
-
|
||
|
- move-result-wide v4
|
||
|
-
|
||
|
- invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||
|
-
|
||
|
- move-result-object v4
|
||
|
-
|
||
|
- invoke-direct {p0}, Lcom/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler;->getFragmentManager()Landroidx/fragment/app/FragmentManager;
|
||
|
-
|
||
|
- move-result-object v5
|
||
|
-
|
||
|
- invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||
|
-
|
||
|
- move-result-object v6
|
||
|
-
|
||
|
- const/4 v7, 0x0
|
||
|
-
|
||
|
- const/4 v8, 0x0
|
||
|
-
|
||
|
- const/4 v9, 0x0
|
||
|
-
|
||
|
- const/16 v10, 0x70
|
||
|
-
|
||
|
- const/4 v11, 0x0
|
||
|
-
|
||
|
- invoke-static/range {v1 .. v11}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;->show$default(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;JLjava/lang/Long;Landroidx/fragment/app/FragmentManager;Ljava/lang/Long;Ljava/lang/Boolean;Lcom/discord/widgets/user/usersheet/WidgetUserSheet$StreamPreviewClickBehavior;Ljava/lang/String;ILjava/lang/Object;)V
|
||
|
-
|
||
|
- goto :goto_1
|
||
|
-
|
||
|
- .line 3
|
||
|
- :cond_1
|
||
|
- :goto_0
|
||
|
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler;->onMessageAuthorNameClicked(Lcom/discord/models/domain/ModelMessage;J)V
|
||
|
|
||
|
- :goto_1
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
--- 601,608 ----
|