User list

This commit is contained in:
Paul Schneider 2025-08-19 21:31:49 +01:00
commit 44cbaefa9c
11 changed files with 129 additions and 42 deletions

View file

@ -56,10 +56,10 @@ namespace Yavsc
_localizer = stringLocalizerFactory.Create(typeof(ChatHub));
_cxManager = connexionManager;
_cxManager.SetErrorHandler ((context, error) =>
{
NotifyUser(NotificationTypes.Error, context, error);
});
_cxManager.SetErrorHandler ((context, error) =>
{
NotifyUser(NotificationTypes.Error, context, error);
});
_logger = loggerFactory.CreateLogger<ChatHub>();
InputValidator = new HubInputValidator { NotifyUser = async (type, target, msg) => await this.NotifyUser(type, target, msg) };
}