From 9323fd4f9077bd876e0e220fda6bfd2192dadd59 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 22 Feb 2014 18:15:15 -0800 Subject: Adding support to post new messages. Other Changes: * JsonEncodedProvider no longer implements Provider. * Only the first answer is shown. Others slide down. * Switch going deeper and the feed. --- src/com/p4square/grow/model/Message.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/com/p4square/grow/model/Message.java') diff --git a/src/com/p4square/grow/model/Message.java b/src/com/p4square/grow/model/Message.java index 6e07150..ad02af9 100644 --- a/src/com/p4square/grow/model/Message.java +++ b/src/com/p4square/grow/model/Message.java @@ -14,7 +14,7 @@ import java.util.Date; public class Message { private String mThreadId; private String mId; - private String mAuthor; + private UserRecord mAuthor; private Date mCreated; private String mMessage; @@ -51,7 +51,7 @@ public class Message { /** * @return The author of the message. */ - public String getAuthor() { + public UserRecord getAuthor() { return mAuthor; } @@ -59,7 +59,7 @@ public class Message { * Set the author of the message. * @param author The new author. */ - public void setAuthor(String author) { + public void setAuthor(UserRecord author) { mAuthor = author; } -- cgit v1.2.3