mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 06:39:54 +01:00
Rename remaining occurrences of status to authorInfo
This commit is contained in:
@@ -18,8 +18,8 @@ class ForumItem extends ThreadItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ForumItem(MessageId messageId, @Nullable MessageId parentId, String text,
|
ForumItem(MessageId messageId, @Nullable MessageId parentId, String text,
|
||||||
long timestamp, Author author, AuthorInfo status) {
|
long timestamp, Author author, AuthorInfo authorInfo) {
|
||||||
super(messageId, parentId, text, timestamp, author, status, true);
|
super(messageId, parentId, text, timestamp, author, authorInfo, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ class GroupMessageItem extends ThreadItem {
|
|||||||
|
|
||||||
private GroupMessageItem(MessageId messageId, GroupId groupId,
|
private GroupMessageItem(MessageId messageId, GroupId groupId,
|
||||||
@Nullable MessageId parentId, String text, long timestamp,
|
@Nullable MessageId parentId, String text, long timestamp,
|
||||||
Author author, AuthorInfo status, boolean isRead) {
|
Author author, AuthorInfo authorInfo, boolean isRead) {
|
||||||
super(messageId, parentId, text, timestamp, author, status, isRead);
|
super(messageId, parentId, text, timestamp, author, authorInfo, isRead);
|
||||||
this.groupId = groupId;
|
this.groupId = groupId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class MemberListItemHolder extends RecyclerView.ViewHolder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void bind(MemberListItem item) {
|
protected void bind(MemberListItem item) {
|
||||||
// member name, avatar and status
|
// member name, avatar and author info
|
||||||
author.setAuthor(item.getMember());
|
author.setAuthor(item.getMember());
|
||||||
author.setAuthorInfo(item.getAuthorInfo());
|
author.setAuthorInfo(item.getAuthorInfo());
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ public class GroupMember {
|
|||||||
private final ContactId contactId;
|
private final ContactId contactId;
|
||||||
private final Visibility visibility;
|
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) {
|
@Nullable ContactId contactId, Visibility visibility) {
|
||||||
this.author = author;
|
this.author = author;
|
||||||
this.authorInfo = status;
|
this.authorInfo = authorInfo;
|
||||||
this.isCreator = isCreator;
|
this.isCreator = isCreator;
|
||||||
this.contactId = contactId;
|
this.contactId = contactId;
|
||||||
this.visibility = visibility;
|
this.visibility = visibility;
|
||||||
|
|||||||
Reference in New Issue
Block a user