FriendsOfFlarum / byobu

Well integrated, advanced private discussions for your Flarum forum.
https://discuss.flarum.org/d/4762-flagrow-by-bu-well-integrated-advanced-private-discussions
MIT License
54 stars 33 forks source link

Creating a new PD from the hover user card does not close the composer #120

Closed imorland closed 4 years ago

imorland commented 4 years ago

Steps to reproduce:

Note the composer is still in a loading state, and has not been closed. The private discussion is created, and we are redirected to it. No errors in console

Also note that manually closing the composer results in: image

Additionally, creating a private message from the userControls on the UserPage uses the same code, but does not result in this behaviour.

This is defined here: https://github.com/FriendsOfFlarum/byobu/blob/9dec307ea855f62be48a4888a18ccbd3b9100014/js/src/forum/addDiscussPrivatelyControl.js#L21