This was implemented in MediaViewer, but it wasn't working because of
wrong hierarchy navigation. I've fixed this by adding a function to do
that in MediaContentViewer directly.
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1135>
data/resources/style.css: Added class for font on applying reaction
src/session/content/room_history/message_row/reaction.rs: Added check if reaction contains text or not
src/utils.rs: Added regex function for general purpose
Even if it's their primary use in clients is to send emoji reactions, reactions can actually contain any text.
We have to make sure that we ellipsize long texts, and we need to fix the font as it's currently too big.
To fix this issue, I used regex function to check whether reaction contains text or not.
https://gitlab.gnome.org/GNOME/fractal/-/issues/1044
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1134>
This also shows a infobar to the user when offline.
This completely ignores the connecticity state since it's unrelaibale
and the server may be reachable even without internet connection.
This removes the channel used to pass the sync response to the
MainContext.
This removes the extra loop to automatically restart the sync stream
since it's not needed anymore.
This also removes the oneshot channel because the tokio task is aborted
anyways when the Session object is disposed.
We only disable the new-login action when there is no network since the
user may have the homeserver in the local network or internet connection
dedection may be broken. (currently the case on my system).
Mention Hack manifest
Fix flatpak removal instructions
Remove link to unsupported Snap
Fix mentions of Fractal Next
Make translation instructions accurate
Update Flathub's button size and alt text