Skip to content

Commit

Permalink
fixed direct message creation
Browse files Browse the repository at this point in the history
  • Loading branch information
alansikora committed Dec 10, 2018
1 parent b2f3b9e commit 022d830
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ class FederatedUser extends FederatedResource {
localUser._id = RocketChat.models.Users.create(localUserObject);
}

// Update the id
this.user._id = localUser._id;

return localUser;
}
}
Expand Down

0 comments on commit 022d830

Please sign in to comment.