fix: send unrecognized error on wrong http methods

This commit is contained in:
Timo Kösters 2022-10-15 00:28:43 +02:00
parent c948324cf2
commit 3a45628e1d
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
7 changed files with 40 additions and 10 deletions

View file

@ -1,7 +1,10 @@
use crate::{services, Error, Result, Ruma};
use ruma::{
api::client::{error::ErrorKind, read_marker::set_read_marker, receipt::create_receipt},
events::{receipt::{ReceiptType, ReceiptThread}, RoomAccountDataEventType},
events::{
receipt::{ReceiptThread, ReceiptType},
RoomAccountDataEventType,
},
MilliSecondsSinceUnixEpoch,
};
use std::collections::BTreeMap;