merge: remote-tracking branch 'origin/master' into refactor/split-project-into-core-crates

This commit is contained in:
Paul Makles
2023-04-22 21:09:51 +01:00
parent 63f56aec0c
commit 22bfd720b5
3 changed files with 3 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ pub async fn filter_online(user_ids: &'_ [String]) -> HashSet<String> {
// Ok so, if this breaks, that means we've lost the Redis patch which adds SMISMEMBER
// Currently it's patched in through a forked repository, investigate what happen to it
let data: Vec<bool> = conn
.sismember("online", user_ids)
.smismember("online", user_ids)
.await
.expect("this shouldn't happen, please read this code! presence/mod.rs");
if data.is_empty() {