Shares in federated conversation broken for public conversations
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 586
- Avg merge
- 18h 27m
- Merged PRs (30d)
- 333
Description
[!TIP]
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Instance A: Have a conversation that is public (!)
- Instance A: Post a picture
- Instance A: Invite participant from instance B
- Instance B: Accept invite and open conversation
Expected behaviour
Actual behaviour
From what I can see it's a regression from conversation folders, namely https://github.com/nextcloud/spreed/commit/bb1a36d830255f046e96cbbeac324b4595e8aeac.
Since this is not throwing anymore, we don't end up at https://github.com/nextcloud/spreed/blob/c22c37107ae58d690ddae86065c011579e2851fc/lib/Chat/Parser/SystemMessage.php#L575-L577
Talk app
Talk app version: Tested stable34 -> main
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in lib/Chat/Parser/SystemMessage.php at the cited lines 544-550 and 575-577, then compare the behavior with the conversation-folders regression commit bb1a36d. Reproduce the public federated conversation flow with an image between two instances and verify that the shared image reaches the expected state shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100