Commit e6b5592
committed
WIP analyze why emoji is not sent as styled emoji
There is something wrong with sending the Emoji Variation Selector.
I debugged and saw that there are differences between web and android:
from web:
emoji ❤️
code U+2764
code U+FE0F
from Android:
emoji ❤
code U+2764
So this is about Emoji Variation Selector (VS-16).
The emojis that are send from android are not styled (they do not include the Emoji Variation Selector).
If i append FE0F to the classic emojis, it is fixed. But it seems the challenge is to decide when to append the Emoji Variation Selector.
i quickly tried to append the style if there is not already one while sending. Works for classic emojis to append the style but other styled emojis are duplicated...
pausing for now due to other important things..
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>1 parent d99740b commit e6b5592
2 files changed
Lines changed: 29 additions & 2 deletions
File tree
- app/src/main/java/com/nextcloud/talk
- adapters/messages
- repositories/reactions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
| |||
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
35 | 51 | | |
36 | 52 | | |
37 | 53 | | |
38 | 54 | | |
39 | 55 | | |
40 | 56 | | |
41 | 57 | | |
42 | | - | |
| 58 | + | |
43 | 59 | | |
44 | | - | |
| 60 | + | |
45 | 61 | | |
46 | 62 | | |
47 | 63 | | |
| |||
0 commit comments