tulir / gomuks

A terminal based Matrix client written in Go.
https://maunium.net/go/gomuks
GNU Affero General Public License v3.0
1.34k stars 120 forks source link

gomuks does not check if a downloaded file exists before overwriting it #395

Open bodqhrohro opened 1 year ago

bodqhrohro commented 1 year ago

If I run the /download command with no path argument, and pick two attachments with the same file name, gomuks saves them with exactly the same name, so the second file overwrites the first one, with no warning.