cutthecord/resources/old-patches/hqavatars/78109.patch

20 lines
745 B
Diff
Raw Normal View History

2021-07-28 15:48:08 +00:00
*** com.discord/smali/com/discord/utilities/icon/IconUtils.smali 2021-06-01 17:16:49.177261704 +0000
--- com.discord-mod/smali/com/discord/utilities/icon/IconUtils.smali 2021-06-01 22:24:40.410417721 +0000
***************
*** 1739,1744 ****
--- 1739,1752 ----
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
+ # Set avatar image size to 256
+
+ const-string v0, "?size=256"
+
+ invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
+
+ const-string v0, "https://cdn.discordapp.com/avatars/"
+
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0