Changes proposed in this pull request:
Added recipientUsers include for CreateDiscussionController. This change has no direct effect on this extension but it fixed errors that other extensions could have because there is a discussion created in a custom way and the recipientUsers are not serialized, the following error might occur (see line of code):
TypeError: e.recipientUsers().find is not a function
Pt Discussion.js:98
Reviewers should focus on:
Nothing is broken and that this change doesn't impact performance
Confirmed
[x] Frontend changes: tested on a local Flarum installation.
[x] Backend changes: tests are green (run composer test).
Changes proposed in this pull request: Added
recipientUsers
include forCreateDiscussionController
. This change has no direct effect on this extension but it fixed errors that other extensions could have because there is a discussion created in a custom way and therecipientUsers
are not serialized, the following error might occur (see line of code):Reviewers should focus on: Nothing is broken and that this change doesn't impact performance
Confirmed
composer test
).