mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 00:26:07 +02:00
- Introduced a new migration to add InviteCodes table and ReplyToMessageId column in Messages. - Updated ChatHub to support replying to messages. - Enhanced ChatService to handle message replies and validate reply targets. - Modified UserService to implement invite-only registration mode with invite code consumption. - Added configuration options for registration modes in appsettings. - Created unit tests for new features including invite code registration and message reply formatting.
11 lines
236 B
C#
11 lines
236 B
C#
namespace EchoHub.Core.DTOs;
|
|
|
|
public record ServerStatusDto(
|
|
string Name,
|
|
string? Description,
|
|
int OnlineUsers,
|
|
int TotalChannels,
|
|
string RegistrationMode = "open");
|
|
|
|
public record EncryptionKeyResponse(string Key);
|