mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 22:53:55 -07:00
migrate to Protobuf ES
This commit is contained in:
parent
68e22d22bf
commit
fd55f4fb7f
133 changed files with 1745 additions and 1621 deletions
|
|
@ -3,6 +3,6 @@ import { Message } from 'types';
|
|||
import { RoomPersistence } from '../../persistence';
|
||||
import { RoomEvent } from './interfaces';
|
||||
|
||||
export function roomSay(message: Message, { roomEvent: { roomId } }: RoomEvent): void {
|
||||
export function roomSay(message: Message, { roomId }: RoomEvent): void {
|
||||
RoomPersistence.addMessage(roomId, message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue