hide disabled emojis #45
Labels
No milestone
No project
No assignees
4 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: distok/cutthecord#45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patch that hides nitro emojis for users without nitro.
yes please I used whole time a outdated discord just because it's hiding nitro emojis.
I like this idea. I'll look into it.
Couldn't find 34.0 APK, so I just modded 33.1. Should be very easy to port to latest.
Sorry I don't know how to PR, but this should be helpful, have any questions, let me know.
Below method found in smali/com/discord/widgets/chat/input/emoji/EmojiPickerViewModel$Companion;
patches are near end of method and the modified / added lines begin with a -
methods below are required to make this patch and the pseudo nitro patch to be compatible
these are just the unmodded methods for emote checking to see if we are allowed to use it
we need to override in both classes that implement the abstract Emoji class for it to work
Hey @BlueMods,
Thanks a lot for this patch, I will port it to 34.0 and push it (and I'll make sure to give you credit).
Can you email me at distok at ave dot zone? I think I may help with sourcing APKs and such.
People interested in this patch:
I've added it to every branch of CutTheCord, and updated builds should be available on the repos in an hour or so.
BlueMods (and future me):
I've implemented this directly with isAvailable instead of isActuallyAvailable for now, as I like to keep patches as simple as possible. When we get around to implementing pseudoNitro I'll change it if need be.