fixup! Fixed: Sending ntfy.sh notifications with unicode characters

pull/6684/head
Mark McDowall 2 months ago
parent 5104cf0728
commit 4db6308fd5

@ -2,12 +2,10 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using FluentValidation.Results;
using NLog;
using NzbDrone.Common.Extensions;
using NzbDrone.Common.Http;
using NzbDrone.Core.Download.Clients.FreeboxDownload;
using NzbDrone.Core.Localization;
namespace NzbDrone.Core.Notifications.Ntfy
@ -154,10 +152,5 @@ namespace NzbDrone.Core.Notifications.Ntfy
throw new NtfyException("Unable to send text message: {0}", ex, ex.Message);
}
}
private string GetBase64EncodedValue(string input)
{
return $"=?UTF-8?B?{input.EncodeBase64()}?=";
}
}
}

Loading…
Cancel
Save