Skip to content

feat: Remove the largely-unused ability to send multiple reactions to one message#8131

Merged
Hocuri merged 5 commits into
mainfrom
hoc/remove-multiple-reactions
Apr 16, 2026
Merged

feat: Remove the largely-unused ability to send multiple reactions to one message#8131
Hocuri merged 5 commits into
mainfrom
hoc/remove-multiple-reactions

Conversation

@Hocuri
Copy link
Copy Markdown
Collaborator

@Hocuri Hocuri commented Apr 16, 2026

After talking with @r10s:

For spring cleaning, remove the largely-unused things that can be done a bit.

Most private messengers (WhatsApp/Signal/...) do not have this feature, and we do not want to become Matrix where every client has different, partly-incompatible features.

@Hocuri Hocuri changed the title [WIP] feat: For consistency between clients, remove the ability to send multiple reactions [WIP] api!: For consistency between clients, remove the ability to send multiple reactions Apr 16, 2026
@Hocuri Hocuri changed the title [WIP] api!: For consistency between clients, remove the ability to send multiple reactions [WIP] api!: Remove the largely-unused ability to send multiple reactions to one message Apr 16, 2026
@Hocuri Hocuri force-pushed the hoc/remove-multiple-reactions branch from e37cc77 to 3e13994 Compare April 16, 2026 13:36
@Hocuri Hocuri changed the title [WIP] api!: Remove the largely-unused ability to send multiple reactions to one message [WIP] feat: Remove the largely-unused ability to send multiple reactions to one message Apr 16, 2026
@Hocuri Hocuri changed the title [WIP] feat: Remove the largely-unused ability to send multiple reactions to one message feat: Remove the largely-unused ability to send multiple reactions to one message Apr 16, 2026
Comment thread src/reaction.rs
},
)
.await?;
reactions.retain(|_contact, reaction| !reaction.is_empty());
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously, the JsonRPC filtered out empty reactions. I don't know whether it's needed, but it can't hurt, and if we do it then it should be done in Core, not the API bindings.

@Hocuri Hocuri requested review from link2xt and r10s April 16, 2026 13:40
Copy link
Copy Markdown
Contributor

@r10s r10s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for the PR.

i also build the PR on iOS and already running it there, works so far :)

Hocuri added 5 commits April 16, 2026 16:14
…tiple reactions

After talking with @r10s, for spring cleaning, remove the different things that can be done a bit.

Most messengers do not have this feature, and we do not want to become Matrix where every client has different, partly-incompatible features.
@Hocuri Hocuri force-pushed the hoc/remove-multiple-reactions branch from 3e13994 to be9043f Compare April 16, 2026 14:14
@Hocuri Hocuri enabled auto-merge (squash) April 16, 2026 14:14
@Hocuri Hocuri merged commit 1c24ad9 into main Apr 16, 2026
31 checks passed
@Hocuri Hocuri deleted the hoc/remove-multiple-reactions branch April 16, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants