Settings menu to select image and media upload #17

Closed
opened 2026-08-24 00:00:45 -04:00 by Salastil · 2 comments
Owner

Currently its postimg.cc for images and litterbox.catbox.moe for everything else. We need alternatives and the ability to set auto upload for pasted or uploaded media for services that do not host media like IRC and Sneedchat.

Currently its postimg.cc for images and litterbox.catbox.moe for everything else. We need alternatives and the ability to set auto upload for pasted or uploaded media for services that do not host media like IRC and Sneedchat.
Salastil added the feature label 2026-08-24 00:00:46 -04:00
Author
Owner

Implemented, but not complete — please do not close yet.

nobilis 2f9c2bc and moho 8453f59 added listUploadHosts/uploadFile and the Settings → Uploads picker (catbox, litterbox, postimg). It works for IRC.

It does not reach Sneedchat. sendMessage's sockchat branch calls sockchat::send_attachment unconditionally, and that function is hardwired to postimg.cc — its signature takes no host parameter at all. The Settings copy promises the choice covers "IRC, and anything Sneedchat's own uploader refuses", but attaching an .mp4 in a Sneedchat room fails with "postimg.cc only accepts images" instead of going to catbox.

Filed separately as a bug; this issue can close once that lands.

Filed from a protocol coverage survey.

Implemented, but **not complete** — please do not close yet. nobilis `2f9c2bc` and moho `8453f59` added `listUploadHosts`/`uploadFile` and the Settings → Uploads picker (catbox, litterbox, postimg). It works for IRC. It does **not** reach Sneedchat. `sendMessage`'s sockchat branch calls `sockchat::send_attachment` unconditionally, and that function is hardwired to postimg.cc — its signature takes no host parameter at all. The Settings copy promises the choice covers "IRC, and anything Sneedchat's own uploader refuses", but attaching an `.mp4` in a Sneedchat room fails with "postimg.cc only accepts images" instead of going to catbox. Filed separately as a bug; this issue can close once that lands. _Filed from a protocol coverage survey._
Author
Owner

Finished — nobilis 2f9c2bc, d0b3adb, moho 8453f59, fe65896

The hole noted above is closed: #40 made the host choice reach Sneedchat, so the setting now covers both services it claims to.

Finished — nobilis [`2f9c2bc`](https://git.salastil.com/Salastil/nobilis/commit/2f9c2bc), [`d0b3adb`](https://git.salastil.com/Salastil/nobilis/commit/d0b3adb), moho [`8453f59`](https://git.salastil.com/Salastil/moho/commit/8453f59), [`fe65896`](https://git.salastil.com/Salastil/moho/commit/fe65896) The hole noted above is closed: #40 made the host choice reach Sneedchat, so the setting now covers both services it claims to.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#17