working messages!!@!@
This commit is contained in:
parent
bcd0e2c0ec
commit
e33554f369
4 changed files with 238 additions and 45 deletions
|
|
@ -647,6 +647,12 @@ public static async Task Auth(HttpContext context, Func<Task> next, IQueryCollec
|
|||
case "user/dm/create":
|
||||
await context.Response.WriteAsync(Encryption.Encryption.EncryptString(await Room.Requests.DmCreate(id, serializedBody.string2), password));
|
||||
break;
|
||||
case "dm/message/send":
|
||||
await context.Response.WriteAsync(
|
||||
Encryption.Encryption.EncryptString(
|
||||
await Room.Requests.DmMessageSend(id, serializedBody.string2)
|
||||
, password));
|
||||
break;
|
||||
case "dm/messages/get":
|
||||
{
|
||||
Universal3String msgGet = JsonSerializer.Deserialize(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue