From 52f275329479ce18dac7f153c9b28c3aa09bee93 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Thu, 19 Dec 2013 00:56:59 +0700 Subject: Message.FriendsOnly --- src/com/juick/Message.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/com') 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"; } -- cgit v1.2.3