This fixes two issues regarding mentions. The first one is that mentions
are actually not highlighted anymore in the text. This probably broke
with the introduction of the special label for messages which allows to
have the timestamp the message was sent at in-line with the actual
message. The bug was caused by overwriting the message attributes when
setting the label, instead of merging the attributes caused by mentions
and the attribute for blank space reserved for the message timestamp. To
fix the issue, the label now saves the message attributes being set and
adds those attributes to the attributes of the underlying label when it
is updated.
The second bug was that message attributes in quotes were using the
attributes of the quoting message instead of the quote itself. The fix is
just a simple change in the blueprint file, taking the attributes for the
label from the quoted message instead of the quoting message.
Render thumbs reactions consistently across Signal clients
`emoji_picker.blp` contains the unicode symbol U+FE0F (VARIATION
SELECTOR-16) for HEAVY BLACK HEART (❤) in order to turn it into the
heart emoji (❤️). For some reason, U+FE0F seems to have been
incorrectly added to THUMBS UP SIGN (👍) and THUMBS DOWN SIGN (👎)
as well, causing Signal clients to display blank reactions when these
emojis were sent by a Flare user.
Since gtk::EmojiChooser already correctly returns the emojis without
U+FE0F, so this commit also standardises the unicode characters used for
reactions.
Fix#208
It is replaced by the following box right after being added, making it
destroyed as soon as it is used, and hence unused in practice.
Signed-off-by: Adrien Plazas <[email protected]>
This prevents the send buttom from taking focus thus closing the OSK
when sending each message on touch devices.
Signed-off-by: Guido Günther <[email protected]>
This prevents the send, emoji and attachments buttons from taking focus
thus ensuring that the OSK stays visible when sending messages or adding
attachments on touch devices.
Signed-off-by: Guido Günther <[email protected]>
This was as I usually modify `metainfo.in`, which should not exist
anymore after allowing translations for the metainfo.
I moved all modifications from the `metainfo.in` to `metainfo.in.in`,
and it seems to work now.