mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 01:34:43 +08:00
FIX: PM participants list refreshing after inviting
When inviting users to a PM a small post is created showing that you invited the user, but the actual list of participants never updated until you refreshed the page or interacted with the private-message-map widget triggering it to refresh. This change will trigger a refresh on the private-message-map widget ensuring that the UI is updated with the current list of participants.
This commit is contained in:
parent
7a1816ce23
commit
149801f99a
@ -366,7 +366,7 @@ export default Component.extend({
|
||||
this.get("inviteModel.details.allowed_users").pushObject(
|
||||
EmberObject.create(result.user)
|
||||
);
|
||||
this.appEvents.trigger("post-stream:refresh");
|
||||
this.appEvents.trigger("post-stream:refresh", { force: true });
|
||||
} else if (
|
||||
this.invitingToTopic &&
|
||||
emailValid(this.emailOrUsername.trim()) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user