Skip to content

Commit

Permalink
Add name to room creation of direct messages to prevent issue with co…
Browse files Browse the repository at this point in the history
…mposite index
  • Loading branch information
auterium committed Jun 4, 2018
1 parent 58c4e0a commit ee97ee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/methods/createDirectMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Meteor.methods({
t: 'd',
msgs: 0,
ts: now,
name: [me._id, to._id].sort().join(''),
team
}
});
Expand Down

0 comments on commit ee97ee9

Please sign in to comment.