mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-09 15:54:46 +00:00
fix: don't run push rules for users that don't exist
This commit is contained in:
parent
bd63797213
commit
6b06fc9707
@ -779,7 +779,7 @@ impl Rooms {
|
||||
.room_members(&pdu.room_id)
|
||||
.filter_map(|r| r.ok())
|
||||
.filter(|user_id| user_id.server_name() == db.globals.server_name())
|
||||
.filter(|user_id| !db.users.is_deactivated(user_id).unwrap_or(false))
|
||||
.filter(|user_id| !db.users.is_deactivated(user_id).unwrap_or(true))
|
||||
{
|
||||
// Don't notify the user of their own events
|
||||
if user == pdu.sender {
|
||||
|
Loading…
Reference in New Issue
Block a user