talk-android
talk-android copied to clipboard
Rename shared file if one with same file name already exists
Steps to reproduce
- Share e.g. picture with nextcloud talk app
- File is uploaded
- After upload, all pictures with (presumably) same file name in chat have "changed", as new picture is displayed
For me this is very annoying, as I for example regularly share a snip of the train timetable (which apparently always gets the same filename from the exporting app). With sharing a new timetable, all other ones are overwritten.
Expected behavior
If file to be uploaded has a file name name that already exists, I see different options to handle (and of course there are more):
- File is automatically renamed to prevent conflict
- User is asked if he wants to overwrite, rename or share link to existing file
- It is verified, if files are identical. If not, uploading file is renamed, if yes, user is asked if he wants to upload anyway or share link to existing file
Actual behaviour
Existing file is overwritten.
Device information
Device: Samsung Galaxy Note9 (but I guess this is HW-independent)
Android version: 10
Talk version: 14.1.0 (but I had same issue ever since)
Server information
Nextcloud version: 24.3
Talk version: 14.0.3
Custom Signaling server configured: no/talk#signaling_server`)
Custom TURN server configured: no
Custom STUN server configured: no
Server log (data/nextcloud.log)
n/a