Skip to content
Snippets Groups Projects
Commit 2fc679b7 authored by Jason Paryani's avatar Jason Paryani
Browse files

Try to work around bug with identity being saved/restored

parent e5ce1f51
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ if (process.env.SANDSTORM === '1') {
activity.users = _.map(userIds, function(userId) {
var user = Meteor.users.findOne({_id: userId}, {fields: {'services.sandstorm.id': 1}});
return {
identity: httpBridge.getSavedIdentity(user.services.sandstorm.id).identity,
identity: waitPromise(httpBridge.getSavedIdentity(user.services.sandstorm.id)).identity,
mentioned: true
};
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment