Added reactions, replies, message redacting
This commit is contained in:
parent
621cfac8aa
commit
6571f38afa
4 changed files with 117 additions and 2 deletions
|
|
@ -653,6 +653,18 @@ public static async Task Auth(HttpContext context, Func<Task> next, IQueryCollec
|
|||
await Room.Requests.DmMessageSend(id, serializedBody.string2)
|
||||
, password));
|
||||
break;
|
||||
case "dm/message/delete":
|
||||
await context.Response.WriteAsync(
|
||||
Encryption.Encryption.EncryptString(
|
||||
await Room.Requests.DmMessageDelete(id, serializedBody.string2)
|
||||
, password));
|
||||
break;
|
||||
case "dm/message/react":
|
||||
await context.Response.WriteAsync(
|
||||
Encryption.Encryption.EncryptString(
|
||||
await Room.Requests.DmMessageReact(id, serializedBody.string2)
|
||||
, password));
|
||||
break;
|
||||
case "dm/messages/get":
|
||||
{
|
||||
Universal3String msgGet = JsonSerializer.Deserialize(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue