ENTS-Source / rocket-sheep

A bot running on tang.ents.ca to help with member actions.
GNU General Public License v3.0
9 stars 1 forks source link

`!camera show` should set width and height for clients that support it #6

Closed turt2live closed 7 years ago

turt2live commented 7 years ago

https://github.com/ENTS-Source/rocket-sheep/blob/master/plugins/cameras.py#L75-L78

Currently the width and height of the image aren't sent to the server, so clients (like Riot) can't always correctly show the image, resulting in weird scrolling behaviour.

http://matrix.org/docs/spec/client_server/r0.2.0.html#m-image