Telegram icon indicating copy to clipboard operation
Telegram copied to clipboard

Add a setting for using system emoji

Open 39bit opened this issue 8 years ago • 4 comments

Some leftover commented code uncommented, as well as new code added to make the emoji panel work properly.

A translation string already exists, so adding a setting was trivial.

The emoji panel uses scaling with an oversized font, the size of which is measured and then scaled accordingly.

Under replaceEmoji, the MessagesController.getInstance().useSystemEmoji if condition was moved lower down to allow links and other formatting to still work even if the setting is enabled.

The allowBigEmoji / draw single big emoji setting remains unimplemented in this PR.

39bit avatar Jul 14 '17 21:07 39bit

Does this fix the bug with useSystemEmoji breaking entities (links, mentions, hashtags, formatted text all show up as plain text) that exists since build 1026?

0xallie avatar Jul 14 '17 21:07 0xallie

@nyuszika7h Yes, see:

"Under replaceEmoji, the MessagesController.getInstance().useSystemEmoji if condition was moved lower down to allow links and other formatting to still work even if the setting is enabled."

39bit avatar Jul 14 '17 21:07 39bit

I found a bug at the new beta update. When you open the photo editor and writing on the pic. If hou pressing on the back button to delete the app is freezing and not working.

And also i have seen sync problem in the bio on the url description of massages.

NatiSD avatar Jul 23 '17 14:07 NatiSD

@NatiSD What does that have to do with this PR?

39bit avatar Jul 23 '17 15:07 39bit