Skip to content

Deleting chat messages from a locked conversation fails without any error message #8447

@schiessle

Description

@schiessle

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a talk room
  2. write some chat messages
  3. Go to the conversation settings and lock the room
  4. Go to the conversation settings and try to delete the chat history

Expected behaviour

Either I can delete the chat message also for a locked conversations or if this shouldn't be the case I see two options:

  1. the "delete chat messages" button should be grayed out with a mouse over notification like "this room is locked, unlock the room to delete the chat messages"
  2. if the user clicks the button a notification like "this room is locked, unlock the room to delete the chat messages" should pop up.

Actual behaviour

I can click the "delete chat message" button, confirm the operation but nothing happens. This looks like a broken "delete chat message" operation to the user.

Talk app

Talk app version: 15.0.2

Custom Signaling server configured: yes/no and version (see additional admin settings: /index.php/index.php/settings/admin/talk#signaling_server)

Custom TURN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#turn_server)

Custom STUN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#stun_server)

Browser

Microphone available: yes/no

Camera available: yes/no

Operating system: Windows/Ubuntu/...

Browser name: Firefox/Chrome/...

Browser version: 85/96/...

Browser log

Details ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```

Server configuration

Operating system: Ubuntu/RedHat/...

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL

PHP version: 7.4/8.0/8.1

Nextcloud Version: cloud.nextcloud.com (Nextcloud 25.0.2. but can also be reproduced with Nextcloud 24)

List of activated apps:

Details
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your server installation folder

Nextcloud configuration:

Details
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Server log (data/nextcloud.log)

Details
Insert your server log here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions