hoehermann / purple-signald

Pidgin libpurple bridge to signald.
GNU General Public License v3.0
153 stars 19 forks source link

Basic quoted message support. #18

Closed fancypantalons closed 4 years ago

fancypantalons commented 4 years ago

Take out the quoted text, split it by newlines, prepend each line with "> " to indicate it's a quote, then emit it, followed by a newline and the reply text.

This looks good in Bitlbee and just okay in Pidgin. I'm starting to wonder if multi-line messages should be split and emitted in Pidgin, generally, but for now this is in keeping with how these types of messages are formatted today.

Note, this PR does not do anything with quoted attachments at this time.