Return Custom Emojis through Livechat API. (#14370)

pull/14376/head
Renato Becker 7 years ago committed by GitHub
parent 553c41295e
commit d3585e3367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/livechat/server/api/lib/livechat.js

@ -91,6 +91,7 @@ export function settings() {
const triggers = findTriggers();
const departments = findDepartments();
const sound = `${ Meteor.absoluteUrl() }sounds/chime.mp3`;
const emojis = Meteor.call('listEmojiCustom');
return {
enabled: initSettings.Livechat_enabled,
@ -135,6 +136,7 @@ export function settings() {
departments,
resources: {
sound,
emojis,
},
};
}

Loading…
Cancel
Save