This commit is contained in:
syuilo
2024-01-18 17:38:24 +09:00
parent 768d0bdc00
commit a78013d0e5
2 changed files with 3 additions and 38 deletions

View File

@@ -93,10 +93,6 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
childId: me.id,
});
if (other === 0) {
publishMainStream(me.id, 'reversiNoInvites');
}
return game;
} else {
const child = targetUser;
@@ -113,7 +109,6 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
const packed = await this.reversiMatchingsEntityService.pack(matching, child);
this.globalEventService.publishReversiStream(child.id, 'invited', { game: packed });
publishMainStream(child.id, 'reversiInvited', packed);
return null;
}