IMAPMessage violating the IMessage contract
Open
@kesselb is already working on this.
Since Mar 6, 2026.
1. to develop
technical debt
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
The interface is implemented by OCA\Mail\Model\Message and OCA\Mail\Model\IMAPMessage.
OCA\Mail\Model\Message is okay:
OCA\Mail\Model\IMAPMessage is not:
Solution
Drop the interface?
It looks like we are always using the actual classes instead of the interface.
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.
Assessment
This issue has not been assessed yet.