nextcloud / nextcloud/talk-android

[Feat]: enhance UI for 'Reply privately' feature

Open
#6,407 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
Kotlin
Stars
739
Forks
321
Avg merge
14h 59m
Merged PRs (30d)
151

Description

Resolving feature gap with server implementation after community contribution.

Things to consider:

  • Required capability: private-reply (Talk 24.0.0)
  • Required payload to send with POST /ocs/v2.php/apps/spreed/api/v1/chat/{token}:
    • replyTo: original message id
    • replyToToken : original conversation token
  • New message metadata fields (for rendering):
 *     // Set only when a message in a convo is private replied on a 1-1 room. Represents the parent message id
 *     replyToMessageId?: int,
 *     // Set only when a message in a convo is private replied on a 1-1 room. Represents the parent message's group conversation token.
 *     replyToConversationToken?: string,
 *     // Set only when a message in a convo is private replied on a 1-1 room. Represents the parent message's group conversation name
 *     replyToConversationName?: string,
 *     // Set only when a message in a convo is private replied on a 1-1 room. Represents the parent message's actor display name
 *     replyToActorDisplayName?: string,
  • Parent message is also cross-posted in 1:1 chat with VERB_PRIVATE_REPLY = 'private_reply', should be invisible (stored in DB,
  • Ideally render replyTo message in 1:1 chat before sending/during sending (temporary)
  • Scheduled messages are not supported atm

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 with the referenced server issue and web implementation PR, then trace the Android chat UI and its POST /ocs/v2.php/apps/spreed/api/v1/chat/{token} request. Check the private-reply capability, replyTo fields, and metadata needed to render the parent message in a 1:1 chat. Done means private replies work in the UI, including temporary rendering where feasible, while scheduled messages remain unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
api, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.