forked from distok/cutthecord
30.1 (1181)
This commit is contained in:
parent
371deaeb8c
commit
73727f987d
48 changed files with 58786 additions and 2 deletions
65
patches/profilemention/1181.patch
Normal file
65
patches/profilemention/1181.patch
Normal file
|
@ -0,0 +1,65 @@
|
|||
diff -crB from/smali/com/discord/widgets/chat/list/WidgetChatList$1.smali to/smali/com/discord/widgets/chat/list/WidgetChatList$1.smali
|
||||
*** from/smali/com/discord/widgets/chat/list/WidgetChatList$1.smali 2020-07-08 23:36:08.650000000 +0300
|
||||
--- to/smali/com/discord/widgets/chat/list/WidgetChatList$1.smali 2020-07-08 23:36:24.640000000 +0300
|
||||
***************
|
||||
*** 288,346 ****
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
- .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;->getMessageReference()Lcom/discord/models/domain/ModelMessage$MessageReference;
|
||||
-
|
||||
- move-result-object v0
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- .line 2
|
||||
- :cond_0
|
||||
- invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
|
||||
-
|
||||
- move-result-object v0
|
||||
-
|
||||
- invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
-
|
||||
- move-result-wide v0
|
||||
-
|
||||
- invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getChannelId()J
|
||||
-
|
||||
- move-result-wide v2
|
||||
-
|
||||
- invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
-
|
||||
- move-result-object p1
|
||||
-
|
||||
- iget-object v2, p0, Lcom/discord/widgets/chat/list/WidgetChatList$1;->this$0:Lcom/discord/widgets/chat/list/WidgetChatList;
|
||||
-
|
||||
- invoke-virtual {v2}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
-
|
||||
- move-result-object p2
|
||||
-
|
||||
- invoke-static {v0, v1, p1, v2, p2}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->show(JLjava/lang/Long;Landroidx/fragment/app/FragmentManager;Ljava/lang/Long;)V
|
||||
-
|
||||
- goto :goto_1
|
||||
-
|
||||
- .line 3
|
||||
- :cond_1
|
||||
- :goto_0
|
||||
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/chat/list/WidgetChatList$1;->onMessageAuthorNameClicked(Lcom/discord/models/domain/ModelMessage;J)V
|
||||
|
||||
- :goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 288,295 ----
|
|
@ -12,4 +12,5 @@ This patch restores the behavior where tapping a user's profile picture adds the
|
|||
- 28.1
|
||||
- 29-alpha1
|
||||
- 30.0
|
||||
- 30.1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue