From 4d4543351fda482679041b6b62147f7775c7d0a7 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sun, 13 Apr 2025 12:56:04 -0300 Subject: [PATCH] refactor(StatusPrivacy.java): add local only status privacy (for akkoma) --- .../java/org/joinmastodon/android/model/StatusPrivacy.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/model/StatusPrivacy.java b/mastodon/src/main/java/org/joinmastodon/android/model/StatusPrivacy.java index cb8d6a0e5..d339bf8dd 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/model/StatusPrivacy.java +++ b/mastodon/src/main/java/org/joinmastodon/android/model/StatusPrivacy.java @@ -10,9 +10,11 @@ public enum StatusPrivacy{ @SerializedName("private") PRIVATE(2), @SerializedName("direct") - DIRECT(3); + DIRECT(3), + @SerializedName("local") + LOCAL(4); // akkoma - private int privacy; + private final int privacy; StatusPrivacy(int privacy) { this.privacy = privacy;