mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:23:17 -05: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.