Hello fellow Discourse users,
I’m currently attempting to build upon an already existing plugin called ‘discourse-chat-integration’ for which I’ve forked and attempted to customize for a certain community but I’m having a wee mind blank. How would I specifically test if it’s a post or thread? I’m trying to build two seperate notification blocks, one for a post and another for a thread.
I have attempted to find it already with ‘post_number’ but it doesn’t seem to work. Any ideas? Thank you.
GitHub Link: GitHub - jackkelly-bayliss/invictus-discourse-chat-integration
File Name: invictus-discourse-chat-integration/discord_provider.rb at master · jackkelly-bayliss/invictus-discourse-chat-integration · GitHub