discourse/plugins/chat
Andrei Prigorshnev be2eb3df44
FIX: user got notified about a mention inside a chat message quote (#24229)
When quoting a chat message in a post, if that message contains a mention, 
that mention should be ignored. But we've been detecting them and sending 
notifications to users. This PR fixes the problem. Since this fix is for 
the chat plugin, I had to introduce a new API for plugins:

    # We strip posts before detecting mentions, oneboxes, attachments etc. 
    # We strip those elements that shouldn't be detected. For example, 
    # a mention inside a quote should be ignored, so we strip it off. 
    # Using this API plugins can register their own post strippers. 
    def register_post_stripper(&block) 
    end
2023-11-08 23:13:25 +04:00
..
app DEV: improves reliability of delete/restore/update specs (#24265) 2023-11-07 11:34:35 +01:00
assets FIX: correctly handle subscriptions (#24270) 2023-11-07 16:37:42 +01:00
config Update translations (#24177) 2023-11-07 21:31:20 +01:00
db FEATURE: implements user based sidebar mode (#23078) 2023-08-18 20:33:07 +02:00
lib PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
public
spec DEV: improves reliability of delete/restore/update specs (#24265) 2023-11-07 11:34:35 +01:00
test/javascripts FIX: correctly handle subscriptions (#24270) 2023-11-07 16:37:42 +01:00
plugin.rb FIX: user got notified about a mention inside a chat message quote (#24229) 2023-11-08 23:13:25 +04:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.