nextcloud / nextcloud/spreed

Cannot set message expiration for 1:1 chats via occ

Open
#14,835 4 comments 0 reactions 0 assignees View on GitHub

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

https://github.com/nextcloud/spreed/blob/e648ff8d26acd818b4ba23daa053f4e1d3c91dc1/lib/Command/Room/Update.php#L119

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.