element-hq / element-hq/element-android

reply to ¯\_(ツ)_/¯ breaks left arm

Open
#3,493 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug
In android it looks like this:
![image](https://user-images.githubusercontent.com/2803622/121710150-94e9db00-cad9-11eb-90b8-6c52a662f800.png)

In web it works:
![image](https://user-images.githubusercontent.com/2803622/121710184-a16e3380-cad9-11eb-9746-e896e2eec57b.png)

```
{
"type": "m.room.message",
"content": {
"msgtype": "m.text",
"body": "> <@kim:server> ¯\\_(ツ)_/¯\n\nreply to shrug",
"format": "org.matrix.custom.html",
"formatted_body": "

In reply to @kim:server
¯\\_(ツ)_/¯
reply to shrug",
"m.relates_to": {
"m.in_reply_to": {
"event_id": "$6fTiTAfENV5ODAlcjWOU6Dlnokn2M0ar_rq4HDD7Vvk"
}
}
}
}
```

I thought it might be a rich reply issue, but the `\\` arm looks properly escaped.

#### To Reproduce
Steps to reproduce the behavior:
1. Use element-web
2. send `/shrug`
3. reply to that message
4. look at message in android

#### Expected behavior
like web

#### Screenshots
see above

#### Smartphone (please complete the following information):
- Device: Moto G5S+
- OS: Android 10
#### Additional context
- App version and store 1.1.7 F-Droid (please host your own up2date repo)
- Homeserver: private

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.