The content repository is used for upload and authenticated download only. /thumbnail is never called, and /config - which is how a client learns the server's upload size limit - is never read.
So a picture in a busy room is fetched whole to be drawn small, and a file that is too big to upload is discovered by the upload failing rather than before it starts.
The content repository is used for upload and authenticated download only. `/thumbnail` is never called, and `/config` - which is how a client learns the server's upload size limit - is never read.
So a picture in a busy room is fetched whole to be drawn small, and a file that is too big to upload is discovered by the upload failing rather than before it starts.
A media event's own thumbnail_url is still preferred — the sender made it and it costs nothing. Where there is none, the server is asked to make one, but only for a picture big enough that a second request saves more than it costs: a small image fetched whole is one round trip, and the same image fetched twice is two. scale rather than crop, because a timeline picture is the whole picture.
Never in an encrypted room, where the server holds ciphertext and cannot resize what it cannot read — which is why a client-made thumbnail is the only kind those ever have.
The upload limit joins the other things the server says about itself at connect, and an attachment is measured against it before the upload starts. A server that declines to state one refuses nothing: the spec allows silence, and a client that blocked every upload because it could not read a number would be worse than one that never asked. poast's is 15 GiB.
Finished.
A media event's own `thumbnail_url` is still preferred — the sender made it and it costs nothing. Where there is none, the server is asked to make one, but only for a picture big enough that a second request saves more than it costs: a small image fetched whole is one round trip, and the same image fetched twice is two. `scale` rather than `crop`, because a timeline picture is the whole picture.
**Never in an encrypted room**, where the server holds ciphertext and cannot resize what it cannot read — which is why a client-made thumbnail is the only kind those ever have.
The upload limit joins the other things the server says about itself at connect, and an attachment is measured against it before the upload starts. A server that declines to state one refuses nothing: the spec allows silence, and a client that blocked every upload because it could not read a number would be worse than one that never asked. poast's is 15 GiB.
[873a908](https://git.salastil.com/Salastil/nobilis/commit/873a908), [8febda2](https://git.salastil.com/Salastil/moho/commit/8febda2)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The content repository is used for upload and authenticated download only.
/thumbnailis never called, and/config- which is how a client learns the server's upload size limit - is never read.So a picture in a busy room is fetched whole to be drawn small, and a file that is too big to upload is discovered by the upload failing rather than before it starts.
Finished.
A media event's own
thumbnail_urlis still preferred — the sender made it and it costs nothing. Where there is none, the server is asked to make one, but only for a picture big enough that a second request saves more than it costs: a small image fetched whole is one round trip, and the same image fetched twice is two.scalerather thancrop, because a timeline picture is the whole picture.Never in an encrypted room, where the server holds ciphertext and cannot resize what it cannot read — which is why a client-made thumbnail is the only kind those ever have.
The upload limit joins the other things the server says about itself at connect, and an attachment is measured against it before the upload starts. A server that declines to state one refuses nothing: the spec allows silence, and a client that blocked every upload because it could not read a number would be worse than one that never asked. poast's is 15 GiB.
873a908, 8febda2