Skip to content

Commit 1dba6c1

Browse files
committed
Fix room id on createDirectRoom
1 parent 4518a97 commit 1dba6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/methods/createDirectRoom.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Meteor.methods
66
if Meteor.user().username is toUsername
77
return
88

9-
roomId = [Meteor.user().username, toUsername].sort().join('')
9+
roomId = [Meteor.user().username, toUsername].sort().join(',')
1010

1111
userTo = Meteor.users.findOne { username: toUsername }
1212

0 commit comments

Comments
 (0)