From af5611e403dc7fa8651b595bc493550db7be6361 Mon Sep 17 00:00:00 2001
From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com>
Date: Fri, 26 Jun 2026 20:11:48 +0000
Subject: [PATCH] Mark IMobileControlMessengerWithSubscriptions and
EnableMessengerSubscriptions as obsolete
All messengers are now subscription based in v3.x, making these
constructs no longer necessary.
Closes #1435
Agent-Logs-Url: https://github.com/PepperDash/Essentials/sessions/bda64c9c-5343-412b-801f-5e60816bc38d
Co-authored-by: ndorin <18535240+ndorin@users.noreply.github.com>
---
.../IMobileControlMessengerWithSubscriptions.cs | 2 ++
.../MobileControlConfig.cs | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControlMessengerWithSubscriptions.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControlMessengerWithSubscriptions.cs
index 887f1789..e6365571 100644
--- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControlMessengerWithSubscriptions.cs
+++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IMobileControlMessengerWithSubscriptions.cs
@@ -1,3 +1,4 @@
+using System;
using PepperDash.Core;
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
@@ -5,6 +6,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
///
/// Defines the contract for IMobileControlMessenger
///
+ [Obsolete("This interface is obsolete and will be removed in a future version. All messengers are now subscription based.")]
public interface IMobileControlMessengerWithSubscriptions : IMobileControlMessenger
{
///
diff --git a/src/PepperDash.Essentials.MobileControl/MobileControlConfig.cs b/src/PepperDash.Essentials.MobileControl/MobileControlConfig.cs
index ec7219a3..9beed963 100644
--- a/src/PepperDash.Essentials.MobileControl/MobileControlConfig.cs
+++ b/src/PepperDash.Essentials.MobileControl/MobileControlConfig.cs
@@ -1,4 +1,5 @@
-using System.Collections.Generic;
+using System;
+using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
@@ -43,6 +44,7 @@ namespace PepperDash.Essentials
/// Enable subscriptions for Messengers
///
[JsonProperty("enableMessengerSubscriptions")]
+ [Obsolete("This property is obsolete and will be removed in a future version. All messengers are now subscription based.")]
public bool EnableMessengerSubscriptions { get; set; }
}