Adds a quote button for each message
Adds a > button over each message which when clicked quotes the message. Fixes #625
There were 4 options for how the ui should've been implemented, I went with option 2.
this is nice, thank you for preparing this. I rebased and tested and I can see it working.
Edit: I did remove the comment on the UI as I noticed it has to do with my configuration. So... everything is working fine!
I suppose It's good idea. I want, that this function be added too.
Looks useful to me.
So.... What next?
I have tested this PR for a long time now and it has always worked well for me. @fiaxh (or any other contributors) would you please consider merging it?
Generally, I think a reply button would be a good addition to Dino. However, I do not see much benefit in a button that merely puts the respective message into the chat input with a ">" in front of it. That's a work-around for actual reply support.
There's a Reply XEP currently in the making, but a dependency of that XEP needs to be reworked first before replies can be used in a backwards-compatible fashion. When the specification is finished, I'd be happy for Dino to implement it and then we can have a reply button that actually triggers a reply.
This PR keeps consistency with https://github.com/dino/dino/pull/1111, and follows the same behaviour compared to Conversations, which might be a plus for some users. Even if this proposal is far from perfect, IMHO it is a good enough workaround until the Reply XEP is released.
That's a work-around for actual reply support.
In fact, this PR is implementing quotation style as described by XEP-0393.
@MarcoPolo-PasTonMolo You have conflicts here.
@Quix0r Done sir
We implemented message replies via XEP-0461 in dc52e7595cca06d0a2da7d11b3c88cb2f7ce529c.