discourse/app
Andrei Prigorshnev 337a033f3b
FIX: Make sure user status on mentions doesnt fail in plugins (#19442)
This fixes the problem reported in https://meta.discourse.org/t/trackstatus-error-in-docs-topics/248717 and also guarantees that the same problem won't appear in other plugins.

The problem was that we're calling trackStatus() and on() on a user object, but that only works if it's a user model and fails on plain js objects.

I'm not adding tests here because in Core we always have a properly wrapped user model here. But this fix makes sure that plugins that don't won't fail here.
2022-12-13 16:51:11 +04:00
..
assets FIX: Make sure user status on mentions doesnt fail in plugins (#19442) 2022-12-13 16:51:11 +04:00
controllers DEV: Admin webhooks interface issues (#19360) 2022-12-13 01:53:08 +01:00
helpers FEATURE: Optionally allow a separate s3_asset_cdn_url to be specified (#19284) 2022-12-08 10:36:20 +00:00
jobs DEV: Migrate sidebar site settings (#19336) 2022-12-08 09:44:29 +08:00
mailers SECURITY: Filter tags in user notifications for visibility (#19239) 2022-11-29 10:35:41 -06:00
models DEV: Pass in site guardian for Plugin::Instance.register_site_categories_callback (#19430) 2022-12-13 07:49:13 +08:00
serializers FEATURE: Show similar users when penalizing a user (#19334) 2022-12-08 14:42:33 +02:00
services FIX: new pm notification should take precedence over mention (#19391) 2022-12-09 12:23:11 +11:00
views FIX: Broken images on subfolder installs (#19404) 2022-12-09 11:24:12 -07:00