fixup! fixup! wip: Notifications support through Apprise

Robert Dailey 2 weeks ago
parent 8b501a6044
commit 534782c47c

@ -64,7 +64,8 @@ public class SyncProcessor(
{
try
{
// todo: Create new NotificationScope here; but how do we collect messages for each config instance we process? Should NotificationService be scoped as well?
// todo: Create new NotificationScope here; but how do we collect messages for each config instance we
// process? Should NotificationService be scoped as well?
notify.SetInstanceName(config.InstanceName);
PrintProcessingHeader(config.ServiceType, config);
await capabilityEnforcer.Check(config);

@ -19,6 +19,11 @@ public sealed class NotificationService(
public void SetInstanceName(string instanceName)
{
if (_activeInstanceName is not null)
{
RenderInstanceEvents(_activeInstanceName, presentableNotifications);
}
_activeInstanceName = instanceName;
}

Loading…
Cancel
Save