27 lines
1.0 KiB
JavaScript
27 lines
1.0 KiB
JavaScript
"use strict";
|
|
/**
|
|
* Created by Alex.Hnatkovski
|
|
*/
|
|
(function () {
|
|
'use strict';
|
|
angular.module('myitsmApp')
|
|
.constant('chatDefaults', {
|
|
additional_namespaces: [{ name: 'SEARCH', def: 'jabber:iq:search' }, { name: 'INVITE', def: 'jabber:x:conference' }, { name: 'EVENT', def: 'jabber:x:event' },
|
|
{ name: 'SMARTITIQ', def: 'smart-it:iq' }, { name: 'DELAY', def: 'urn:xmpp:delay' }, { name: 'ARCHIVE', def: 'urn:xmpp:archive' },
|
|
{ name: 'RSM', def: 'http://jabber.org/protocol/rsm' }
|
|
],
|
|
conference_service_name: 'conference.',
|
|
resource: 'desktop',
|
|
chatroom_default_config: {
|
|
allowinvites: 1,
|
|
roomdesc: 'Configured MUC room',
|
|
changesubject: 1,
|
|
persistentroom: 1,
|
|
whois: 'anyone',
|
|
membersonly: 0
|
|
},
|
|
users_status_list: [EntityVO.CHAT_STATUS_ONLINE, EntityVO.CHAT_STATUS_AWAY, EntityVO.CHAT_STATUS_OFFLINE],
|
|
manual_statuses: [EntityVO.CHAT_STATUS_ONLINE, EntityVO.CHAT_STATUS_AWAY]
|
|
});
|
|
})();
|