forked from distok/cutthecord
Dockerise
This commit is contained in:
parent
8ec2dd75c2
commit
55e2e94b63
3921 changed files with 178 additions and 111 deletions
96
resources/patches/profilemention/87202.patch
Normal file
96
resources/patches/profilemention/87202.patch
Normal file
|
@ -0,0 +1,96 @@
|
|||
diff -crB from/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali to/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali
|
||||
*** from/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali 2021-08-04 19:46:22.122875500 +0100
|
||||
--- to/smali_classes2/com/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler.smali 2021-08-04 22:31:44.645076000 +0100
|
||||
***************
|
||||
*** 717,797 ****
|
||||
.end method
|
||||
|
||||
.method public onMessageAuthorAvatarClicked(Lcom/discord/models/message/Message;J)V
|
||||
! .locals 12
|
||||
|
||||
- const-string v0, "message"
|
||||
-
|
||||
- invoke-static {p1, v0}, Ld0/z/d/m;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
-
|
||||
- .line 1
|
||||
- sget-object v0, Lcom/discord/utilities/guilds/PublicGuildUtils;->INSTANCE:Lcom/discord/utilities/guilds/PublicGuildUtils;
|
||||
-
|
||||
- invoke-virtual {v0, p1}, Lcom/discord/utilities/guilds/PublicGuildUtils;->isPublicGuildSystemMessage(Lcom/discord/models/message/Message;)Z
|
||||
-
|
||||
- move-result v0
|
||||
-
|
||||
- if-nez v0, :cond_1
|
||||
-
|
||||
- invoke-virtual {p1}, Lcom/discord/models/message/Message;->isCrosspost()Z
|
||||
-
|
||||
- move-result v0
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- .line 2
|
||||
- :cond_0
|
||||
- invoke-virtual {p1}, Lcom/discord/models/message/Message;->getAuthor()Lcom/discord/api/user/User;
|
||||
-
|
||||
- move-result-object v0
|
||||
-
|
||||
- if-eqz v0, :cond_2
|
||||
-
|
||||
- .line 3
|
||||
- sget-object v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->Companion:Lcom/discord/widgets/user/usersheet/WidgetUserSheet$Companion;
|
||||
-
|
||||
- invoke-virtual {v0}, Lcom/discord/api/user/User;->i()J
|
||||
-
|
||||
- move-result-wide v2
|
||||
-
|
||||
- invoke-virtual {p1}, Lcom/discord/models/message/Message;->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 4
|
||||
- :cond_1
|
||||
- :goto_0
|
||||
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler;->onMessageAuthorNameClicked(Lcom/discord/models/message/Message;J)V
|
||||
|
||||
- :cond_2
|
||||
- :goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 717,726 ----
|
||||
.end method
|
||||
|
||||
.method public onMessageAuthorAvatarClicked(Lcom/discord/models/message/Message;J)V
|
||||
! .locals 4
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/chat/list/adapter/WidgetChatListAdapterEventsHandler;->onMessageAuthorNameClicked(Lcom/discord/models/message/Message;J)V
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue