mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-26 21:06:35 +02:00
fix: Use to_str methods on room IDs
Some checks failed
Release Docker Image / define-variables (push) Failing after 1s
Rust Checks / Format (push) Failing after 1s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Rust Checks / Clippy (push) Failing after 10s
Rust Checks / Cargo Test (push) Failing after 9s
Some checks failed
Release Docker Image / define-variables (push) Failing after 1s
Rust Checks / Format (push) Failing after 1s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Rust Checks / Clippy (push) Failing after 10s
Rust Checks / Cargo Test (push) Failing after 9s
This commit is contained in:
parent
b845ad21d0
commit
e781d16eaa
1 changed files with 3 additions and 3 deletions
|
@ -175,8 +175,8 @@ pub(super) async fn purge_all_sync_tokens(
|
|||
|
||||
// In dry run mode, just count what would be deleted, don't actually delete
|
||||
debug!(
|
||||
"Room {} has no local users, {}",
|
||||
room_id,
|
||||
"Room {}: {}",
|
||||
room_id.as_str(),
|
||||
if !execute {
|
||||
"would purge sync tokens"
|
||||
} else {
|
||||
|
@ -204,7 +204,7 @@ pub(super) async fn purge_all_sync_tokens(
|
|||
match self.services.rooms.user.delete_room_tokens(room_id).await {
|
||||
| Ok(count) =>
|
||||
if count > 0 {
|
||||
debug!("Deleted {} sync tokens for room {}", count, room_id);
|
||||
debug!("Deleted {} sync tokens for room {}", count, room_id.as_str());
|
||||
total_tokens_deleted = total_tokens_deleted.saturating_add(count);
|
||||
} else {
|
||||
debug!("No sync tokens found for room {}", room_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue