forked from noxious/server
#293: Changed IDs to UUIDs for all entities
This commit is contained in:
@ -25,7 +25,7 @@ class ChatService extends BaseService {
|
||||
const chat = await ChatRepository.getById(newChat.id)
|
||||
if (!chat) return false
|
||||
|
||||
io.to(zoneId.toString()).emit('chat:message', chat)
|
||||
io.to(zoneId).emit('chat:message', chat)
|
||||
return true
|
||||
} catch (error: any) {
|
||||
this.logger.error(`Failed to save chat message: ${error instanceof Error ? error.message : String(error)}`)
|
||||
|
Reference in New Issue
Block a user