fix: now phone users can attach any media, not just photos
CI / Go (build + vet + test) (push) Canceled after 0s
CI / Web (build + lint) (push) Canceled after 0s

This commit is contained in:
vantablackTea
2026-09-28 14:55:09 +03:00
parent 30d17aeebf
commit e6e92771a5
+2 -2
View File
@@ -165,10 +165,10 @@ function Composer({ onSend, onTyping }: ComposerProps) {
{uploadError && <p className="mb-1.5 px-1 text-[11px] text-danger">{uploadError}</p>} {uploadError && <p className="mb-1.5 px-1 text-[11px] text-danger">{uploadError}</p>}
<div className="bevel-in flex items-end gap-1 bg-surface p-1"> <div className="bevel-in flex items-end gap-1 bg-surface p-1">
<input <input
ref={fileInputRef} ref={fileInputRef}
type="file" type="file"
accept="image/*,*" accept="*/*"
className="hidden" className="hidden"
onChange={(event) => { onChange={(event) => {
const file = event.target.files?.[0] const file = event.target.files?.[0]