mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-07 04:56:25 +02:00
revert typings_maintain refactor
This commit is contained in:
parent
4dd809fdc4
commit
7a1a0a0bec
1 changed files with 22 additions and 24 deletions
|
@ -146,10 +146,7 @@ impl Service {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if removable.is_empty() {
|
if !removable.is_empty() {
|
||||||
return Ok(());
|
|
||||||
}
|
|
||||||
|
|
||||||
let typing = &mut self.typing.write().await;
|
let typing = &mut self.typing.write().await;
|
||||||
let room = typing.entry(room_id.to_owned()).or_default();
|
let room = typing.entry(room_id.to_owned()).or_default();
|
||||||
for user in &removable {
|
for user in &removable {
|
||||||
|
@ -176,6 +173,7 @@ impl Service {
|
||||||
self.federation_send(room_id, user, false).await?;
|
self.federation_send(room_id, user, false).await?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue