mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Always show private messages expanded in conversation view. Bug #32.
This give a simple and usable interface; we can worry about collapsing blocks of read messages later.
This commit is contained in:
@@ -6,12 +6,10 @@ import org.briarproject.api.db.MessageHeader;
|
||||
class ConversationItem {
|
||||
|
||||
private final MessageHeader header;
|
||||
private boolean expanded;
|
||||
private byte[] body;
|
||||
|
||||
ConversationItem(MessageHeader header) {
|
||||
this.header = header;
|
||||
expanded = false;
|
||||
body = null;
|
||||
}
|
||||
|
||||
@@ -19,14 +17,6 @@ class ConversationItem {
|
||||
return header;
|
||||
}
|
||||
|
||||
boolean isExpanded() {
|
||||
return expanded;
|
||||
}
|
||||
|
||||
void setExpanded(boolean expanded) {
|
||||
this.expanded = expanded;
|
||||
}
|
||||
|
||||
byte[] getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user