diff options
author | Vitaly Takmazov | 2021-08-22 10:57:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-08-22 10:57:02 +0300 |
commit | d918967281652ead0130c5dbef663e82003d4393 (patch) | |
tree | b4bdd09ee9a2f86e0aae7ee6cdf21672a2f0fd31 /src/main/java/com/juick/www/api/activity/model | |
parent | 1d395b762746948c4ba9897c0ff1e5be0aaaf6db (diff) |
ActivityPub: handle user deletion for suspended users
Diffstat (limited to 'src/main/java/com/juick/www/api/activity/model')
-rw-r--r-- | src/main/java/com/juick/www/api/activity/model/objects/Actor.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/juick/www/api/activity/model/objects/Actor.java b/src/main/java/com/juick/www/api/activity/model/objects/Actor.java index f8bd63e0..7e799a95 100644 --- a/src/main/java/com/juick/www/api/activity/model/objects/Actor.java +++ b/src/main/java/com/juick/www/api/activity/model/objects/Actor.java @@ -23,6 +23,8 @@ import com.juick.www.api.activity.model.Context; public class Actor extends Context { private String preferredUsername; + private boolean suspended; + private String inbox; private String outbox; private String following; @@ -78,4 +80,12 @@ public class Actor extends Context { public void setPreferredUsername(String preferredUsername) { this.preferredUsername = preferredUsername; } + + public boolean isSuspended() { + return suspended; + } + + public void setSuspended(boolean suspended) { + this.suspended = suspended; + } } |