Rename remaining occurrences of status to authorInfo

parent baf64e11
......@@ -18,8 +18,8 @@ class ForumItem extends ThreadItem {
}
ForumItem(MessageId messageId, @Nullable MessageId parentId, String text,
long timestamp, Author author, AuthorInfo status) {
super(messageId, parentId, text, timestamp, author, status, true);
long timestamp, Author author, AuthorInfo authorInfo) {
super(messageId, parentId, text, timestamp, author, authorInfo, true);
}
}
......@@ -22,8 +22,8 @@ class GroupMessageItem extends ThreadItem {
private GroupMessageItem(MessageId messageId, GroupId groupId,
@Nullable MessageId parentId, String text, long timestamp,
Author author, AuthorInfo status, boolean isRead) {
super(messageId, parentId, text, timestamp, author, status, isRead);
Author author, AuthorInfo authorInfo, boolean isRead) {
super(messageId, parentId, text, timestamp, author, authorInfo, isRead);
this.groupId = groupId;
}
......
......@@ -30,7 +30,7 @@ class MemberListItemHolder extends RecyclerView.ViewHolder {
}
protected void bind(MemberListItem item) {
// member name, avatar and status
// member name, avatar and author info
author.setAuthor(item.getMember());
author.setAuthorInfo(item.getAuthorInfo());
......
......@@ -19,10 +19,10 @@ public class GroupMember {
private final ContactId contactId;
private final Visibility visibility;
public GroupMember(Author author, AuthorInfo status, boolean isCreator,
public GroupMember(Author author, AuthorInfo authorInfo, boolean isCreator,
@Nullable ContactId contactId, Visibility visibility) {
this.author = author;
this.authorInfo = status;
this.authorInfo = authorInfo;
this.isCreator = isCreator;
this.contactId = contactId;
this.visibility = visibility;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment