Cannot set message expiration for 1:1 chats via occ
Open
Nobody has claimed this yet.
enhancement
feature: api 🛠️
feature: conversations 👥
feature: settings ⚙️
- Dominant language
- PHP
- Stars
- 2.2k
- Forks
- 587
- Avg merge
- 18h 27m
- Merged PRs (30d)
- 333
Description
Is there a functional reason for this limitation? We are looking to default retention periods throughout all chats. It seems to be be an artificial limitation to require the command to be used on a group chat.
TIA.
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 at lib/Command/Room/Update.php around line 119 and inspect how the occ command restricts message expiration to group chats. Check the related room-type handling and determine whether 1:1 chats can use the same path. Done means the command supports the requested retention setting for 1:1 chats, with relevant existing behavior still intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100