feat: share files/images/videos into Matrix via /send #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/matrix-media-send"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
POST /sendto send media (image/video/audio/file) into Matrix rooms, including E2EEmediaUrl(+kind,filename, optionalfetchAuthHeader,replyToEventId); the bot downloads, encrypts for E2EE rooms, uploads to the content repo, and sends the eventMATRIX_MAX_DOWNLOAD_BYTES(default 50 MB); http/https-only fetch guardTest Plan
cd bot && npm test); build clean (npm run build)mediaUrlto/send→ renders inline in an encrypted roomreplyToEventId→ threads as replylooks good