2023-09-10 12:59:22 +01:00
|
|
|
import User from "../objects/User";
|
|
|
|
import StatusUpdate from "./StatusUpdate";
|
|
|
|
import UserPresence from "./UserPresence";
|
|
|
|
import UserPresenceBundle from "./UserPresenceBundle";
|
2022-11-19 01:06:03 +00:00
|
|
|
|
2023-09-10 12:59:22 +01:00
|
|
|
export default function UserStatsRequest(user:User, data:Array<number>) {
|
2022-11-19 01:06:03 +00:00
|
|
|
UserPresenceBundle(user);
|
|
|
|
|
|
|
|
for (let id of data) {
|
|
|
|
UserPresence(user, id);
|
|
|
|
StatusUpdate(user, id);
|
|
|
|
}
|
|
|
|
}
|