1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-19 21:45:31 +02:00
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;
}