The benefit of rendering some corner-case webp images is negligible
compared to issues related to the slow update policy of the library,
such as recently in relevance to CVE-2023-4863 (but also previously
for updating glide versions).
Fixes https://github.com/SchildiChat/SchildiChat-android/issues/210
Change-Id: I3809e2b48e595809fed1a6f4e405cdf178126cdb
https://github.com/SchildiChat/SchildiChat-android-rageshakes/issues/1152
Well... it says it happened on longclick, but it doesn't say if it
happened in SafeBetterLinkMovementMethod or
EvenBetterLinkMovementMethod, but since we're not using it plain as far
as I see, it should be one of these, and SafeBetterLinkMovementMethod
has it already caught?
Change-Id: Ifa171203b4e65a49a89121ddd2fb714d5bcb0d64
Fixes https://github.com/SchildiChat/SchildiChat-android/issues/206
On repeated render, we sometimes get
`java.lang.NumberFormatException: For input string: ""`
Note: this doesn't necessarily happen on messages with lists, but any,
not sure when...
Change-Id: Icaa5b505c6f8a732d0a04378e0872e82ae40e16d
In production builds. For internal builds, still allow it.
Note: upstream may have been leaking content here as well.
Change-Id: I1b07778d70dfddb151bf97b60482e38aeb01c26e
If render(): renderAndProcess(markwon.parse(text), _) fails,
the input text *string* is returned instead of a Spannable,
so we shouldn't cast without checking here.
Fixes https://github.com/SchildiChat/SchildiChat-android/issues/201
Change-Id: I1824328e0b733de699a33376833b2fbc86b0e44f
Use new "labs" icon from Element, that we have changed back to the old
one for settings - but since it's a bit too big (even upstream),
fix width/height in addition.
Fixes https://github.com/SchildiChat/SchildiChat-android/issues/200
Change-Id: I9195df80a5dadb9e70799ed3dc49f5702335ac49
* fix: add webp as playable image type
* fix: make glide transformations optional to prevent rendering webp throwing exception
* fix: stop marking webp as playable by default
* fix: play animated Webp in attachment view
* feat: autoplay webp if autoplay is enabled
---------
Signed-off-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Previously, the "end poll" timeline item always showed the title
and options from the start event, regardless of whether any edits
had been made.
Now we show the latest edit, if available, falling back to the
original otherwise.