Built motion from commit 57474b6.|0.0.99
[motion.git] / server / api / user_has_voice_queue / user_has_voice_queue.socket.js
1 var _0x8188=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\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\x55\x70\x64\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\x76\x6F\x69\x63\x65\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\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x6C\x6F\x67\x67\x65\x64","\x6C\x6F\x67\x67\x65\x64\x41\x74","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x63\x61\x6C\x6C\x73\x74\x61\x6B\x65\x6E","\x6C\x61\x73\x74\x63\x61\x6C\x6C","\x73\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73\x64\x65\x73\x63","\x73\x74\x61\x74\x75\x73\x41\x74","\x70\x61\x75\x73\x65\x64","\x70\x61\x75\x73\x65\x64\x41\x74","\x72\x65\x61\x73\x6F\x6E","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8188[0];var UserHasVoiceQueue=require(_0x8188[2])[_0x8188[1]];var UserHasVoiceQueuePermit=require(_0x8188[2])[_0x8188[3]];exports[_0x8188[4]]=function(_0x391fx3){UserHasVoiceQueue[_0x8188[5]](function(_0x391fx4){onSave(_0x391fx3,_0x391fx4)});UserHasVoiceQueue[_0x8188[6]](function(_0x391fx4){onSave(_0x391fx3,_0x391fx4)});UserHasVoiceQueue[_0x8188[7]](function(_0x391fx4){onRemove(_0x391fx3,_0x391fx4)});UserHasVoiceQueuePermit[_0x8188[5]](function(_0x391fx4){permitChange(_0x391fx3,_0x391fx4)});UserHasVoiceQueuePermit[_0x8188[7]](function(_0x391fx4){permitChange(_0x391fx3,_0x391fx4)})};function permitChange(_0x391fx3,_0x391fx4){if(_0x391fx3[_0x8188[8]]==_0x391fx4[_0x8188[9]]){_0x391fx3[_0x8188[11]](_0x8188[10])}}function onSave(_0x391fx3,_0x391fx4,_0x391fx7){_0x391fx3[_0x8188[11]](_0x8188[12],{logged:_0x391fx4[_0x8188[13]],loggedAt:_0x391fx4[_0x8188[14]],queue:_0x391fx4[_0x8188[15]],membername:_0x391fx4[_0x8188[16]],interface:_0x391fx4[_0x8188[17]],callstaken:_0x391fx4[_0x8188[18]],lastcall:_0x391fx4[_0x8188[19]],status:_0x391fx4[_0x8188[20]],statusdesc:_0x391fx4[_0x8188[21]],statusAt:_0x391fx4[_0x8188[22]],paused:_0x391fx4[_0x8188[23]],pausedAt:_0x391fx4[_0x8188[24]],reason:_0x391fx4[_0x8188[25]],UserId:_0x391fx4[_0x8188[26]]})}function onRemove(_0x391fx3,_0x391fx4,_0x391fx7){_0x391fx3[_0x8188[11]](_0x8188[27],_0x391fx4)}