From 90201606bb485988f5a85cd578f3f5b8ecddf4db Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 26 Apr 2023 09:11:53 +0300 Subject: Expose `friendsOnly` message property over API --- src/main/java/com/juick/util/MessageUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/juick/util') diff --git a/src/main/java/com/juick/util/MessageUtils.java b/src/main/java/com/juick/util/MessageUtils.java index 6a325c0c..ff0641ae 100644 --- a/src/main/java/com/juick/util/MessageUtils.java +++ b/src/main/java/com/juick/util/MessageUtils.java @@ -326,7 +326,7 @@ public class MessageUtils { for (Tag Tag : tags) builder.append(" *").append(Tag.getName()); - if (msg.FriendsOnly) + if (msg.isFriendsOnly()) builder.append(" *friends"); if (msg.ReadOnly) builder.append(" *readonly"); -- cgit v1.2.3