indent check

pull/4360/head
Aaron Ogle 9 years ago
parent 7ffb1a96d2
commit 08ddd450da
No known key found for this signature in database
GPG Key ID: 9DE7F8BEE517326A
  1. 22
      packages/rocketchat-ui/lib/chatMessages.coffee

@ -187,17 +187,17 @@ class @ChatMessages
Meteor.call 'slashCommand', {cmd: command, params: param, msg: msgObject }
return
if !RocketChat.settings.get('Message_AllowUnrecognizedSlashCommand')
invalidCommandMsg =
_id: Random.id()
rid: rid
ts: new Date
msg: TAPi18n.__('No_such_command', { command: match[1] })
u:
username: "rocketbot"
private: true
ChatMessage.upsert { _id: invalidCommandMsg._id }, invalidCommandMsg
return
if !RocketChat.settings.get('Message_AllowUnrecognizedSlashCommand')
invalidCommandMsg =
_id: Random.id()
rid: rid
ts: new Date
msg: TAPi18n.__('No_such_command', { command: match[1] })
u:
username: "rocketbot"
private: true
ChatMessage.upsert { _id: invalidCommandMsg._id }, invalidCommandMsg
return
Meteor.call 'sendMessage', msgObject
done()

Loading…
Cancel
Save