mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-11-19 15:18:06 +01:00
feat: Add support for message attachments
- Introduced Attachment model to handle file attachments associated with messages. - Updated ModerationController to manage message deletions and attachment cleanup. - Enhanced ChatService to include attachments in message retrieval. - Implemented migration for legacy single-attachment messages to the new Attachments model. - Added unit tests for attachment handling in message formatting and parsing. - Updated database context and migrations to support new Attachments table.
This commit is contained in:
@@ -6,6 +6,12 @@ public class ClientConfig
|
||||
public AccountPreset DefaultPreset { get; set; } = new();
|
||||
public string ActiveTheme { get; set; } = "Default";
|
||||
public NotificationConfig Notifications { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Folder where downloaded attachments and saved images are written. When null, the
|
||||
/// OS Downloads folder is used. Set via the native folder picker or <c>/downloadpath</c>.
|
||||
/// </summary>
|
||||
public string? DownloadPath { get; set; }
|
||||
}
|
||||
|
||||
public class NotificationConfig
|
||||
|
||||
Reference in New Issue
Block a user