From d60289aac8797fdad013c451ede0edbe471052f0 Mon Sep 17 00:00:00 2001 From: Bat Date: Tue, 4 Sep 2018 14:02:01 +0100 Subject: [PATCH] Local instance ID is 1, not 0 This prevented local users from being removed before broadcasting an activity. Fixes #113 --- plume-models/src/users.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-models/src/users.rs b/plume-models/src/users.rs index 418a988..76b1127 100644 --- a/plume-models/src/users.rs +++ b/plume-models/src/users.rs @@ -567,7 +567,7 @@ impl WithInbox for User { } fn is_local(&self) -> bool { - self.instance_id == 0 + self.instance_id == 1 } }