Skip to content

feat: Add message forwarding - #3086

Open
Helvio88 wants to merge 4 commits into
cinnyapp:devfrom
Helvio88:message-forward
Open

feat: Add message forwarding#3086
Helvio88 wants to merge 4 commits into
cinnyapp:devfrom
Helvio88:message-forward

Conversation

@Helvio88

@Helvio88 Helvio88 commented Aug 26, 2026

Copy link
Copy Markdown

Description

Adds Forward to the message context menu so a message can be sent to other joined rooms or DMs. Same Overlay / FocusTrap / Modal picker Cinny already uses, same mx.sendEvent path as a normal send. Honors edits (m.new_content), reuses existing mxc media URLs, and strips m.relates_to so the target gets a standalone copy. Redacted or undecryptable events are refused.

Fixes #644

Forward in the message context menu (dark theme)

This is a copy-forward, not a new MSC or custom event type. Three files: the menu item, the picker, and the barrel export.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Copy an existing message into other joined rooms or DMs from the
message context menu, reusing event content and media URLs without
re-uploading.
@github-actions

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@Helvio88

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@Helvio88 Helvio88 changed the title Add message forwarding feat: Add message forwarding Aug 26, 2026
@Helvio88

Copy link
Copy Markdown
Author

recheck

cursoragent and others added 3 commits August 26, 2026 14:26
Keep copy-forward as-is. Empty Message still sends only the forwarded event;
non-empty text is sent first as m.room.message / m.text via sendMessage.

Co-authored-by: Helvio Pedreschi <Helvio88@users.noreply.github.com>
MenuItem size 400 uses a fixed height; override it so the id under the name is not clipped.

Co-authored-by: Helvio Pedreschi <Helvio88@users.noreply.github.com>
Search stays first, then rooms, then Message immediately above Forward.
Send behavior is unchanged.

Co-authored-by: Helvio Pedreschi <Helvio88@users.noreply.github.com>
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.

Message forwarding

2 participants