Hello,
When viewing a message, eg. the message.html template file, how can I find out if the message is flagged or not ?
Thanks in advance!
I'm not sure what you mean, why do you need to know in the html?
I want to add a button to the messageview to flag or unflag the message, but to show the right button I need to know the current flagged state of the message.
If looking for something like this:
<roundcube if:message[flagged]==true>
<roundcube:button command="unflag">
<roundcube else>
<roundcube:button command="flag">
<roundcube endif>