mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
33 lines
582 B
Java
33 lines
582 B
Java
package org.briarproject.android.contact;
|
|
|
|
import org.briarproject.api.sync.MessageId;
|
|
|
|
// This class is not thread-safe
|
|
public class ConversationNoticeInItem extends ConversationNoticeItem
|
|
implements ConversationItem.IncomingItem {
|
|
|
|
private boolean read;
|
|
|
|
public ConversationNoticeInItem(MessageId id, String text, long time,
|
|
boolean read) {
|
|
super(id, text, time);
|
|
|
|
this.read = read;
|
|
}
|
|
|
|
@Override
|
|
int getType() {
|
|
return NOTICE_IN;
|
|
}
|
|
|
|
@Override
|
|
public boolean isRead() {
|
|
return read;
|
|
}
|
|
|
|
@Override
|
|
public void setRead(boolean read) {
|
|
this.read = read;
|
|
}
|
|
}
|