Crash when opening Element Android room
Every time I open the Element Android room in Fractal it crashes with the following message:
thread 'main' panicked at 'The widget of every MessageContent, whose mtype is RowType::Video, must have a video_player.', fractal-gtk/src/widgets/room_history.rs:756:18
As best I can tell, this is the offending message: https://matrix.to/#/!AZozoWghOYSIAfaZjJ:matrix.org/$aAiLbNfLnnraMU39qNLmVuBI5pMlRKVDCcXpQGoIbpM?via=matrix.org&via=privacytools.io&via=mozilla.org
Room ID: !AZozoWghOYSIAfaZjJ:matrix.org
Event ID: $aAiLbNfLnnraMU39qNLmVuBI5pMlRKVDCcXpQGoIbpM
{
"content": {
"body": "1602854881469~2.mp4",
"file": {
"hashes": {
"sha256": "DkNJ8H9zEF+0+uE95RjAanDuNYqyZ7sbpzrF6IaAQIM"
},
"iv": "fZBcUDf6udsAAAAAAAAAAA",
"key": {
"alg": "A256CTR",
"ext": true,
"k": "9k9wLBbyhk7nXb_uDwJXq7zG_WGERJ9GRk1hH0l0qd8",
"key_ops": [
"encrypt",
"decrypt"
],
"kty": "oct"
},
"mimetype": "video/mp4",
"url": "mxc://an-atom-in.space/PzXClmqiBNAtqzBtWbNkawit",
"v": "v2"
},
"info": {
"duration": 0,
"h": 1920,
"mimetype": "video/mp4",
"size": 26545523,
"thumbnail_file": {
"hashes": {
"sha256": "bj7KpnKJc2u0P/dCn7W+2577oRNadSobYFaPBDE2znk"
},
"iv": "C3v3rwNtj6EAAAAAAAAAAA",
"key": {
"alg": "A256CTR",
"ext": true,
"k": "jHIFlQbDDj9nA86V5yuFYJOOVQon0WTi151MDWfm3dA",
"key_ops": [
"encrypt",
"decrypt"
],
"kty": "oct"
},
"mimetype": "image/jpeg",
"url": "mxc://an-atom-in.space/ZefQukOKDSlCcUcZwvuZoEEu",
"v": "v2"
},
"thumbnail_info": {
"h": 1920,
"mimetype": "image/jpeg",
"size": 481969,
"w": 1080
},
"w": 1080
},
"msgtype": "m.video"
},
"origin_server_ts": 1602855166261,
"sender": "@tr_slimey:an-atom-in.space",
"type": "m.room.message",
"unsigned": {
"age": 3102112
},
"event_id": "$aAiLbNfLnnraMU39qNLmVuBI5pMlRKVDCcXpQGoIbpM",
"room_id": "!AZozoWghOYSIAfaZjJ:matrix.org"
}
Steps to reproduce:
- Open Fractal
- Enter the Element Android room
- Watch Fractal crash
-
This bug is reproducible from the latest nightly build
Fractal Version: 4.4.0
OS Version: Ubuntu 20.04
Installation Source: Flathub
Edited by Scott Sweeny