diff --git a/Libraries/Core/Callbacks/NotifierCallbacks.cs b/Libraries/Core/Callbacks/NotifierCallbacks.cs
index 1e6285ac..dab6522d 100644
--- a/Libraries/Core/Callbacks/NotifierCallbacks.cs
+++ b/Libraries/Core/Callbacks/NotifierCallbacks.cs
@@ -14,38 +14,6 @@ public class NotifierCallbacks(
)
{
- /**
- * If we don't have anything to send, it's ok to not send anything back
- * because notification requests can be long-polling. In fact, we SHOULD wait
- * until we actually have something to send because otherwise we'd spam the client
- * and the client would abort the connection due to spam.
- */
- public void SendNotification(string sessionID, object req, object resp, object data) // TODO: no types were given
- {
- // var splitUrl = req.Url.Split("/");
- // var tmpSessionID = splitUrl[splitUrl.Length - 1].Split("?last_id")[0];
-
- // Take our array of JSON message objects and cast them to JSON strings, so that they can then
- // be sent to client as NEWLINE separated strings... yup.
-
- // _notifierController.NotifyAsync(tmpSessionID)
- throw new NotImplementedException();
- }
-
- ///
- /// Handle push/notifier/get
- /// Handle push/notifier/getwebsocket
- /// TODO: removed from client?
- ///
- ///
- ///
- ///
- ///
- public string GetNotifier(string url, object info, string sessionId)
- {
- return _httpResponseUtil.EmptyArrayResponse();
- }
-
///
/// Handle client/notifier/channel/create
///
diff --git a/Libraries/Core/Routers/Dynamic/NotifierDynamicRouter.cs b/Libraries/Core/Routers/Dynamic/NotifierDynamicRouter.cs
index e135522c..ebd87865 100644
--- a/Libraries/Core/Routers/Dynamic/NotifierDynamicRouter.cs
+++ b/Libraries/Core/Routers/Dynamic/NotifierDynamicRouter.cs
@@ -23,7 +23,8 @@ public class NotifierDynamicRouter : DynamicRouter
info,
sessionID,
output
- ) => _notifierCallbacks.Notify(url, info, sessionID)),
+ ) => _notifierCallbacks.Notify(url, info, sessionID)
+ ),
new RouteAction(
"/notifierServer",
(
@@ -31,23 +32,8 @@ public class NotifierDynamicRouter : DynamicRouter
info,
sessionID,
output
- ) => _notifierCallbacks.Notify(url, info, sessionID)),
- new RouteAction(
- "/push/notifier/get/",
- (
- url,
- info,
- sessionID,
- output
- ) => _notifierCallbacks.GetNotifier(url, info, sessionID)),
- new RouteAction(
- "/push/notifier/getwebsocket/",
- (
- url,
- info,
- sessionID,
- output
- ) => _notifierCallbacks.GetNotifier(url, info, sessionID)),
+ ) => _notifierCallbacks.Notify(url, info, sessionID)
+ )
]
)
{