mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 19:29:51 +00:00
When flagging a chat message, and options included both notifying user and notifying staff, the modal was missing the separating text. This was happening because the #staffFlagsAvailable method was based on post flags, and the model for chat flags is slightly different. This fixes that by delegating to the relevant flag target object.