[FIX] If InternalHubot_Username is undefined then rocket.cat should be default bot (#16371)

pull/16617/head
Guilherme Gazzo 5 years ago committed by GitHub
commit c5a54e7586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/ui/client/lib/chatMessages.js

@ -424,7 +424,7 @@ export class ChatMessages {
ts: new Date(),
msg: TAPi18n.__('No_such_command', { command: s.escapeHTML(match[1]) }),
u: {
username: settings.get('InternalHubot_Username'),
username: settings.get('InternalHubot_Username') || 'rocket.cat',
},
private: true,
};

Loading…
Cancel
Save