Hover over a user in a discussion use the userControls dropdown, select 'send X a message'
Compose a private message
Post the message
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:
Additionally, creating a private message from the userControls on the UserPage uses the same code, but does not result in this behaviour.
Steps to reproduce:
userControls
dropdown, select 'send X a message'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 inconsole
Also note that manually closing the composer results in:
Additionally, creating a private message from the
userControls
on theUserPage
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