element-hq / element-hq/element-web

Reactions appear on mobile but not on web

Open
#24,126 0 comments 0 reactions 0 assignees View on GitHub
A-Reactions A-Threads O-Occasional S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

I sent a message in a thread and got 2 reactions. They appear on Element android app (running on a mobile phone) but not on Element web (running on a laptop). When I click `View source` on Element web the reactions seem to exist:

```
{
"content": {
"body": "",
"m.relates_to": {
"event_id": "$1672088044146141qwXFt:matrix.org",
"is_falling_back": true,
"m.in_reply_to": {
"event_id": "$1672135484158278GVQRJ:matrix.org"
},
"rel_type": "m.thread"
},
"msgtype": "m.text"
},
"event_id": "$1672147780162587NqRjl:matrix.org",
"origin_server_ts": 1672147780073,
"room_id": "",
"sender": "@eliaspap:matrix.org",
"type": "m.room.message",
"unsigned": {
"age": 347964109,
"m.relations": {
"m.annotation": {
"chunk": [
{
"type": "m.reaction",
"key": "👎️",
"count": 1
},
{
"type": "m.reaction",
"key": "😂",
"count": 1
}
]
}
}
},
"user_id": "@eliaspap:matrix.org",
"age": 347962925
}
```
On mobile:
![2_reactions_mobile](https://user-images.githubusercontent.com/18152197/210141110-1f48b723-dabf-481e-a7eb-73952f824071.png)

On web:
0_reactions_web

Also I tried to add a thumbs down reaction on mobile (i.e. click the already existing thumbs down reaction) and this does appear on web, where I see only one thumbs down reaction and no other reactions. The source code in that case looks like this:
```
{
"content": {
"body": "",
"m.relates_to": {
"event_id": "$1672088044146141qwXFt:matrix.org",
"is_falling_back": true,
"m.in_reply_to": {
"event_id": "$1672135484158278GVQRJ:matrix.org"
},
"rel_type": "m.thread"
},
"msgtype": "m.text"
},
"event_id": "$1672147780162587NqRjl:matrix.org",
"origin_server_ts": 1672147780073,
"room_id": "",
"sender": "@eliaspap:matrix.org",
"type": "m.room.message",
"unsigned": {
"age": 349844142,
"m.relations": {
"m.annotation": {
"chunk": [
{
"type": "m.reaction",
"key": "👎️",
"count": 2
},
{
"type": "m.reaction",
"key": "😂",
"count": 1
}
]
}
}
},
"user_id": "@eliaspap:matrix.org",
"age": 347962925
}
```
So it seems it can render my own reaction but it cannot render the reactions of others.

### Outcome

#### What did you expect?
The same reactions should render on both clients.

#### What happened instead?
Element web renders two reactions less (it does not render a 👎️ and a 😂).

### Operating system

Web: MacOS Ventura 13.1 (22C65), Apple M2 chip
Mobile: Android 12

### Browser information

Google Chrome Version 108.0.5359.124 (Official Build) (arm64)

### URL for webapp

https://app.element.io/

### Application version

Element version: 1.11.17 Olm version: 3.2.12

### Homeserver

Homeserver is https://matrix-client.matrix.org, Identity server is https://vector.im

### Will you send logs?

No

### Mobile app Versions section

Version
1.5.11 [40105112] (G-40bfffae)

Matrix SDK Version
1.5.11 (40bfffae)

olm version
3.2.12

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.