Local instance ID is 1, not 0
This prevented local users from being removed before broadcasting an activity. Fixes #113
This commit is contained in:
parent
dbdc9f317e
commit
d60289aac8
@ -567,7 +567,7 @@ impl WithInbox for User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn is_local(&self) -> bool {
|
fn is_local(&self) -> bool {
|
||||||
self.instance_id == 0
|
self.instance_id == 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user