dylex / slack-libpurple

Slack module for libpurple
GNU General Public License v2.0
276 stars 38 forks source link

Message reactions #155

Open aulemahal opened 2 years ago

aulemahal commented 2 years ago

Hi, thanks for this plugin! I am so happy not to have to open the full electron app for simple chatting...

I was wondering if there would be a way show message reactions. In the official app, those emojis appear under messages. I have no idea how the integration works, but would it be possible to add a line under a message saying who reacted with which emoji?

Even cooler would be to be able to react from pidgin, but I can live without that.

dylex commented 2 years ago

I haven't looked at this too closely but it would look like the message edits do now: we'd have to redisplay the message with the new reactions added (libpurple has no way to update previously displayed messages). Being able to add reactions might actually be easier, just adding a slash command to do it somehow, with a message timestamp reference like the threading commands.

aulemahal commented 2 years ago

Hum, well that could become quite noisy in large groups, sad. I guess the feature would have to be optional.

EionRobb commented 2 years ago

We do a similar reaction thing in the purple-discord plugin. A /react slash command (with a message timestamp) to react to a message, and display the reactions with a system-message fallback of "xyz reacted 🦅 to message abc1234... "