-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared files disappear from conversation thread after leaving conversation #7009
Comments
Seems to be intentional: spreed/lib/Share/RoomShareProvider.php Lines 129 to 136 in 1284b9d
It's there since the beginning of sharing basically: @danxuliu and memory about this decision? |
I thought it made sense 🤷 From the pull request description: In the same way that a user must be a participant of a room to send a message to it a user must be a participant of a room to share a file with it [...]. Similarly, when a user leaves a room she has no longer access to the shares in the room; for consistency, her own shares are also removed.
I would expect my shares to be removed when I leave a room (or group!), but I could also understand it if they were kept, so if it makes more sense to keep them for consistency with group shares then fine by me too. |
@jancborchardt @nimishavijay @marcoambrosini any preference from UX perspective? What would be the user assumption? |
Ohh, I've forgotten to mention, that text messages are retained when I leave conversation. Only files are removed. |
I'd assume that the files stay in the conversation. That's what happens in most messengers, but of course the files are sort of "owned" by the conversation and not by users at that point. In our case I'd also delete the shares by default. |
Files should probably stay by default, I don't think it is necessary to ask the user. If the user is deleted from the instance then it makes more sense to delete the file. |
Okay, so the code in spreed/lib/Share/RoomShareProvider.php Lines 129 to 136 in 1284b9d
|
Steps to reproduce
Expected behaviour
Shared files should remain in conversation thread. Or (if this is a feature) at least some warning message about "possible data loss" should appear.
Actual behaviour
Shared files are replaced with message "You shared a file which is no longer available".
Actually uploaded files are still present at sender's NextCloud storage.
Server configuration detail
Operating system: Linux 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64
Webserver: Apache/2.4.52 (Debian) (apache2handler)
Database: mysql 10.5.12
PHP version:
7.4.28
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 23.0.2 - 23.0.2.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36 Edg/99.0.1150.39
Operating system:
Logs
Web server error log
Nextcloud log
Browser log
Insert your browser log here, this could for example include:
The text was updated successfully, but these errors were encountered: