mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:34:18 +08:00
54b2a85b27
When making the list of users to notify we set `all_mentioned_user_ids` key on the `to_notify` Hash. This hash will be passed around until the actual moment where we send the notifications: ```ruby identifier_text = case identifier_type when :here_mentions "@here" when :global_mentions "@all" when :direct_mentions "" else "@#{identifier_type}" end ``` As not found `all_mentioned_user_ids` would end up being sent as `@all_mentioned_user_ids` which is obviously incorrect. This commit is a direct fix to the issue and will remove the key as soon as we have used it sooner up in the chain. This bug was reproducible when doing this sequence of events: - create a message with a direct mention: `@bob hi` - edit this message into a global mention `@all hi` |
||
---|---|---|
.. | ||
app | ||
assets | ||
config | ||
db | ||
lib | ||
public | ||
spec | ||
test/javascripts | ||
plugin.rb | ||
README.md |
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.