change now returns event names as id

directly, no conversion method or number ids anymore

also longer timeout for requesting test accounts from mailadm
This commit is contained in:
Simon Laux
2022-06-01 19:01:13 +02:00
parent 079cd67da8
commit 6f6e6f24c9
8 changed files with 117 additions and 80 deletions

View File

@@ -319,7 +319,7 @@ impl CommandApi {
flags: u32,
) -> Result<Vec<u32>> {
let ctx = self.get_context(account_id).await?;
let msg = get_chat_msgs(&ctx, ChatId::new(chat_id), flags, None).await?;
let msg = get_chat_msgs(&ctx, ChatId::new(chat_id), flags).await?;
Ok(msg
.iter()
.filter_map(|chat_item| match chat_item {