Skip to content

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

Description

@Antreesy

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care of (should be only set by nextcloud employees)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions