mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
33 lines
550 B
Java
33 lines
550 B
Java
package org.briarproject.android.contact;
|
|
|
|
import org.briarproject.api.sync.MessageId;
|
|
|
|
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;
|
|
}
|
|
|
|
}
|