This commit is contained in:
pypy
2021-01-30 03:30:04 +09:00
parent 75ca58010b
commit 5f36ee4951
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -4209,7 +4209,7 @@ speechSynthesis.getVoices();
this.friendsGroup3_.push(ctx); this.friendsGroup3_.push(ctx);
this.friendsGroupD_.unshift(ctx); this.friendsGroupD_.unshift(ctx);
} }
if ('ref' in ctx) { if (typeof ctx.ref !== 'undefined') {
if ((ctx.ref.$offline_for === '') && if ((ctx.ref.$offline_for === '') &&
((ctx.state === 'offline') && ctx.ref.state === '') || ((ctx.state === 'offline') && ctx.ref.state === '') ||
(((ctx.state === 'offline') || (ctx.state === 'active')) && (((ctx.state === 'offline') || (ctx.state === 'active')) &&
@@ -4361,7 +4361,7 @@ speechSynthesis.getVoices();
if (query) { if (query) {
var QUERY = query.toUpperCase(); var QUERY = query.toUpperCase();
for (var ctx of this.friends.values()) { for (var ctx of this.friends.values()) {
if (('ref' in ctx) === false) { if (typeof ctx.ref === 'undefined') {
continue; continue;
} }
var NAME = ctx.name.toUpperCase(); var NAME = ctx.name.toUpperCase();
@@ -7014,7 +7014,7 @@ speechSynthesis.getVoices();
} }
for (var { ref } of this.friends.values()) { for (var { ref } of this.friends.values()) {
if (typeof ref === 'undefined' || if (typeof ref === 'undefined' ||
('$location' in ref) === false || typeof ref.$location === 'undefined' ||
ref.$location.worldId !== D.id) { ref.$location.worldId !== D.id) {
continue; continue;
} }
+1 -1
View File
@@ -811,7 +811,7 @@ speechSynthesis.getVoices();
if (feeds === null) { if (feeds === null) {
return; return;
} }
if (('lastFeedEntry' in this) && if (typeof this.lastFeedEntry !== 'undefined' &&
(feeds[0].created_at === this.lastFeedEntry.created_at)) { (feeds[0].created_at === this.lastFeedEntry.created_at)) {
return; return;
} }