fix: now phone users can attach any media, not just photos
This commit is contained in:
@@ -168,7 +168,7 @@ function Composer({ onSend, onTyping }: ComposerProps) {
|
|||||||
<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]
|
||||||
|
|||||||
Reference in New Issue
Block a user