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:
Bat 2018-09-04 14:02:01 +01:00
parent dbdc9f317e
commit d60289aac8

View File

@ -567,7 +567,7 @@ impl WithInbox for User {
}
fn is_local(&self) -> bool {
self.instance_id == 0
self.instance_id == 1
}
}