mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-09-13 23:47:39 +03:00
fix: remove avatars downloading without new ui
This commit is contained in:
parent
b501c30ca3
commit
85d63ff9b2
@ -840,7 +840,11 @@ fn setup(_: &Application, ctx: Arc<Context>, ui: UiModel) {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if ctx.config(|o| !o.new_ui_enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
thread::spawn(move || {
|
||||
for message in messages.iter() {
|
||||
let Some(avatar_url) = grab_avatar(message) else { continue };
|
||||
|
Loading…
x
Reference in New Issue
Block a user