2020-08-27 13:09:35 +01:00
|
|
|
const UserPresenceBundle = require("./UserPresenceBundle.js"),
|
2022-01-04 03:39:53 +00:00
|
|
|
UserPresence = require("./UserPresence.js"),
|
|
|
|
StatusUpdate = require("./StatusUpdate.js");
|
2020-08-27 13:09:35 +01:00
|
|
|
|
2021-01-26 12:26:46 +00:00
|
|
|
module.exports = function (currentUser, data = [0]) {
|
2022-01-04 03:39:53 +00:00
|
|
|
UserPresenceBundle(currentUser);
|
2020-08-27 13:09:35 +01:00
|
|
|
|
2022-01-04 03:39:53 +00:00
|
|
|
for (let i1 = 0; i1 < data.length; i1++) {
|
|
|
|
const CurrentUserID = data[i1];
|
2020-08-27 13:09:35 +01:00
|
|
|
|
2022-01-04 03:39:53 +00:00
|
|
|
UserPresence(currentUser, CurrentUserID);
|
|
|
|
StatusUpdate(currentUser, CurrentUserID);
|
|
|
|
}
|
2020-08-27 13:09:35 +01:00
|
|
|
}
|