diff options
author | 2013-12-19 00:56:59 +0700 | |
---|---|---|
committer | 2013-12-19 00:56:59 +0700 | |
commit | 52f275329479ce18dac7f153c9b28c3aa09bee93 (patch) | |
tree | b4edcf99a56425b2c5e6e0aa86f7f5de3020a52f /src/com/juick/Message.java | |
parent | acc42d07d87a31e9ee8b45ad203805ed363c6d05 (diff) |
Message.FriendsOnly
Diffstat (limited to 'src/com/juick/Message.java')
-rw-r--r-- | src/com/juick/Message.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/juick/Message.java b/src/com/juick/Message.java index 4b2c20ed..4c81e2b7 100644 --- a/src/com/juick/Message.java +++ b/src/com/juick/Message.java @@ -37,6 +37,7 @@ public class Message { public String TimestampString = null; public int TimeAgo = 0; public int Privacy = 1; + public boolean FriendsOnly = false; public boolean ReadOnly = false; public boolean VisitorCanComment = true; public int Replies = 0; @@ -61,6 +62,7 @@ public class Message { TimestampString = msg.TimestampString; TimeAgo = msg.TimeAgo; Privacy = msg.Privacy; + FriendsOnly = msg.FriendsOnly; ReadOnly = msg.ReadOnly; Replies = msg.Replies; AttachmentType = msg.AttachmentType; @@ -145,6 +147,9 @@ public class Message { for (int i = 0; i < Tags.size(); i++) { ret += " *" + Tags.get(i); } + if (FriendsOnly) { + ret += " *friends"; + } if (Privacy == -2) { ret += " *private"; } |