mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
remove debug
This commit is contained in:
@@ -4070,20 +4070,17 @@ import gameLogService from './service/gamelog.js'
|
||||
this.friendsGroupD_.unshift(ctx);
|
||||
}
|
||||
if (ctx.ref !== undefined) {
|
||||
console.log(ctx.name + ' ' + ctx.state + ' ref: ' + ctx.ref.state);
|
||||
if ((ctx.ref.$offline_for == '') &&
|
||||
((ctx.state == 'offline') && ctx.ref.state == '') ||
|
||||
(((ctx.state == 'offline') || (ctx.state == 'active')) &&
|
||||
((ctx.ref.state != 'offline') && (ctx.ref.state != 'active') && (ctx.ref.state != '')))) {
|
||||
ctx.ref.$online_for = '';
|
||||
ctx.ref.$offline_for = Date.now();
|
||||
console.log('^update offline^');
|
||||
}
|
||||
if ((ctx.ref.$online_for == '') && (ctx.state == 'online')) {
|
||||
ctx.ref.$location_at = Date.now();
|
||||
ctx.ref.$online_for = Date.now();
|
||||
ctx.ref.$offline_for = '';
|
||||
console.log('^update online^');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user