Fix problem with usernames being converted to object id

pull/1447/head
Rodrigo Nascimento 10 years ago
parent 4fde9f9f74
commit f42c45f0ac
  1. 3
      packages/rocketchat-file/file.server.coffee

@ -5,6 +5,9 @@ path = Npm.require('path')
mkdirp = Npm.require('mkdirp')
gm = Npm.require('gm')
# Fix problem with usernames being converted to object id
Grid.prototype.tryParseObjectId = -> false
RocketChatFile =
gm: gm

Loading…
Cancel
Save