synapse icon indicating copy to clipboard operation
synapse copied to clipboard

Rendezvous handler code can be simplified after `text/plain` requirement

Open anoadragon453 opened this issue 3 months ago • 0 comments

Context: https://github.com/element-hq/synapse/pull/17122#discussion_r1579294847

The code can likely be simplified a bit now that only Content-Types of text/plain are allowed.

We may also want to enforce this requirement in the type checker, rather than a runtime check, to reduce the chance of this check accidentally being removed in the future, and other code assuming it is there.

anoadragon453 avatar Apr 25 '24 11:04 anoadragon453