mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 08:36:11 +02:00
feat: enhance IRC support with display name handling, private channel tracking, and connection identification
This commit is contained in:
@@ -308,7 +308,8 @@ public class ChannelsController : ControllerBase
|
||||
sender?.NicknameColor,
|
||||
channelName,
|
||||
message.SentAt,
|
||||
attachmentDtos);
|
||||
attachmentDtos,
|
||||
SenderDisplayName: sender?.DisplayName);
|
||||
|
||||
await _chatService.BroadcastMessageAsync(channelName, messageDto);
|
||||
|
||||
@@ -444,7 +445,8 @@ public class ChannelsController : ControllerBase
|
||||
sender?.NicknameColor,
|
||||
channelName,
|
||||
message.SentAt,
|
||||
[new AttachmentDto(AttachmentKind.Image, attachmentUrl, fileName, imageBytes.Length, _encryption.Encrypt(preview))]);
|
||||
[new AttachmentDto(AttachmentKind.Image, attachmentUrl, fileName, imageBytes.Length, _encryption.Encrypt(preview))],
|
||||
SenderDisplayName: sender?.DisplayName);
|
||||
|
||||
await _chatService.BroadcastMessageAsync(channelName, messageDto);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user