question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

m.image height and widget are float, not int

See original GitHub issue

The spec mentions an m.images content.info.{h,w} must be integers, however when sending a message today my bridge broke complaining that they were floats: https://github.com/tulir/mautrix-whatsapp/issues/80

They should be converted to floats to remain spec compliant.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:19 (14 by maintainers)

github_iconTop GitHub Comments

3reactions
auscompgeekcommented, Jul 17, 2020

Note that this means RiotX Element Android cannot send images to v6 rooms.

2reactions
ganfracommented, Jul 20, 2020

Json actually doesn’t really know between double or integer, it’s just “numbers” The client is responsible for typing then. In RiotX this issue is caused by loosing the information of the content when sending through Workers. It will be fixed in next release, thanks for pointing it 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image height is not changing - flutter - Stack Overflow
By default the ListTile's maximum leading widget height would be 56px. This is the source code of ListTile ,
Read more >
Image in service portal is not appearing properly - ServiceNow
Hi All, I have a requirement to keep the image in top and place the widgets below. so i have added a container...
Read more >
Alignment, font styles, and horizontal rules in HTML documents
It is possible to align block elements (tables, images, objects, paragraphs, ... attributes also permit the "center" value, which does not cause floating, ......
Read more >
Bitmap | Android Developers
Returns a immutable bitmap with the specified width and height, with each pixel value set ... int x, int y, int width, int...
Read more >
ImageJ Release Notes - NIH
Thanks to Stein Rorvik, fixed a 1.53m regression that caused macros importing an image sequence to sometimes not open all images in a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found