bigbluebutton-Github/bigbluebutton-html5/imports/api/common/server/helpers.js
Anton Georgiev 802b3bb4fb Merge pull request #4322 from KDSBrowne/x2.0-header-functions
[HTML5] - Add header functions
2017-09-11 14:00:15 -04:00

16 lines
305 B
JavaScript

export const indexOf = [].indexOf || function (item) {
for (let i = 0, l = this.length; i < l; i++) {
if (i in this && this[i] === item) {
return i;
}
}
return -1;
};
//used in 1.1
export const inReplyToHTML5Client = function (arg) {
return arg.routing.userId === 'nodeJSapp';
};