fix: Fix panic in debug builds caused by MSC4133 migration
(cherry picked from commit 902fe7b7ab)
This commit is contained in:
parent
4182a67df2
commit
209601a8ea
1 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ use conduwuit::{
|
|||
},
|
||||
warn,
|
||||
};
|
||||
use database::Json;
|
||||
use futures::{FutureExt, StreamExt, TryStreamExt};
|
||||
use itertools::Itertools;
|
||||
use ruma::{
|
||||
|
|
@ -606,7 +607,7 @@ async fn fix_corrupt_msc4133_fields(services: &Services) -> Result {
|
|||
);
|
||||
};
|
||||
|
||||
useridprofilekey_value.put((user, key), new_value);
|
||||
useridprofilekey_value.put((user, key), Json(new_value));
|
||||
fixed = fixed.saturating_add(1);
|
||||
}
|
||||
total = total.saturating_add(1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue