cleaning and refactoring chat system

and also fixing chat inputs validation.
This commit is contained in:
Paul Schneider 2019-09-14 13:59:53 +01:00
commit 137b4a3abf
8 changed files with 167 additions and 165 deletions

View file

@ -125,8 +125,7 @@ namespace Yavsc.Services
var hubClient = hubContext.Clients.User(cxid);
var data = new Dictionary<string, object>();
data["event"] = ev;
hubClient.push(ev.Topic, data);
hubClient.push(ev.Topic, JsonConvert.SerializeObject(data));
}
result.message_id = MimeKit.Utils.MimeUtils.GenerateMessageId(