mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fix #2175
This commit is contained in:
parent
48c86369a6
commit
55265211b4
2 changed files with 4 additions and 4 deletions
|
@ -203,13 +203,13 @@ namespace Ombi.Notifications.Agents
|
|||
Username = string.IsNullOrEmpty(settings.Username) ? "Ombi" : settings.Username,
|
||||
Channel = settings.Channel,
|
||||
Text = model.Message,
|
||||
IconUrl = new Uri(settings.IconUrl),
|
||||
IconUrl = settings.IconUrl,
|
||||
Attachments = new List<MattermostAttachment>
|
||||
{
|
||||
new MattermostAttachment
|
||||
{
|
||||
Title = model.Other.ContainsKey("title") ? model.Other["title"] : string.Empty,
|
||||
ImageUrl = model.Other.ContainsKey("image") ? new Uri(model.Other["image"]) : null,
|
||||
ImageUrl = model.Other.ContainsKey("image") ? model.Other["image"] : string.Empty,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue