Built motion from commit 79c4046.|0.0.100
[motion.git] / server / api / user_has_chat_queue / user_has_chat_queue.socket.js
1 var _0xcf4d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xcf4d[0];var UserHasChatQueue=require(_0xcf4d[2])[_0xcf4d[1]];var UserHasChatQueuePermit=require(_0xcf4d[2])[_0xcf4d[3]];exports[_0xcf4d[4]]=function(_0xe91bx3){UserHasChatQueue[_0xcf4d[5]](function(_0xe91bx4){onSave(_0xe91bx3,_0xe91bx4)});UserHasChatQueue[_0xcf4d[6]](function(_0xe91bx4){onRemove(_0xe91bx3,_0xe91bx4)});UserHasChatQueuePermit[_0xcf4d[5]](function(_0xe91bx4){permitChange(_0xe91bx3,_0xe91bx4)});UserHasChatQueuePermit[_0xcf4d[6]](function(_0xe91bx4){permitChange(_0xe91bx3,_0xe91bx4)})};function permitChange(_0xe91bx3,_0xe91bx4){if(_0xe91bx3[_0xcf4d[7]]==_0xe91bx4[_0xcf4d[8]]){_0xe91bx3[_0xcf4d[10]](_0xcf4d[9])}}function onSave(_0xe91bx3,_0xe91bx4,_0xe91bx7){_0xe91bx3[_0xcf4d[10]](_0xcf4d[11],_0xe91bx4)}function onRemove(_0xe91bx3,_0xe91bx4,_0xe91bx7){_0xe91bx3[_0xcf4d[10]](_0xcf4d[12],_0xe91bx4)}