EionRobb / purple-discord

A libpurple/Pidgin plugin for Discord
GNU General Public License v3.0
382 stars 43 forks source link

Threads, reacts, replies, and more #389

Closed dlmarquis closed 2 years ago

dlmarquis commented 2 years ago

This is a behemoth of a PR, and I apologize for that. Adding support for threads, reactions, and replies all relied on the same core code, so I figured I'd package it all together, and then a few smaller items I was looking at also got absorbed into this PR due to shared code. Let me know if you want me to split things up or reorganize the commits.

Much of the thread code was ripped from and/or inspired by the thread support over at slack-libpurple.

Threads are shown in their parent channel's chat window, but I have stored them as full channels so that we can support breaking them out into their own entities if we want to in the future.

Attempting to reply or react within a thread should not currently work.