]> cat aescling's git repositories - mastodon.git/commit
Use null as default oEmbed height (#2842)
authorrch850 <rich850@gmail.com>
Sat, 6 May 2017 14:31:43 +0000 (23:31 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 6 May 2017 14:31:43 +0000 (16:31 +0200)
commit453fb84c9caa225e49f041359fc28dfad54e311d
treeb312d8a1cc2240ab8a08fa150aed6d4aa304368c
parent59804abc3d59070e56e0c541884a54fb88242eb2
Use null as default oEmbed height (#2842)

Height 640 is too big for most toots.
Twitter use null value to support flexible height.
app/controllers/api/oembed_controller.rb