Open ChristophWurst opened 1 year ago
Yeah, so the problem is the message never hit the server so we also don't know which parameters or magic words are recognized etc. If we would replace them and keep a record of the rich-object parameters, that would break resending the message if not re-replaced on re-sending.
Also we could only do it for mentions you autocompleted via tribute. if you manually typed @admin
we never waited for a server response and there also don't have a mention chip or the data (display name, etc) available.
Might be related to https://github.com/nextcloud/spreed/issues/10895
the message never hit the server
As you said, we don't have messageParameters yet to show a message, although that could be mocked by client.
we could only do it for mentions you autocompleted via tribute
Only if we imitate somehow the click
on a tribute to generate a mention chip. But that would require a server request for autocomplete options.
Issue becomes more relevant now, as we added message editing
How to use GitHub
Steps to reproduce
Expected behaviour
Message to resend renders the \@mention
Actual behaviour
I see \@joas in the chat window
Talk app
Talk app version: the lastest for 24 I guess
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
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: (see admin page)
List of activated apps:
Nextcloud configuration:
Server log (data/nextcloud.log)