mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
32 lines
588 B
Java
32 lines
588 B
Java
package org.briarproject.android.contact;
|
|
|
|
import org.briarproject.api.introduction.IntroductionRequest;
|
|
|
|
// This class is not thread-safe
|
|
public class ConversationIntroductionInItem extends ConversationIntroductionItem
|
|
implements ConversationItem.IncomingItem {
|
|
|
|
private boolean read;
|
|
|
|
public ConversationIntroductionInItem(IntroductionRequest ir) {
|
|
super(ir);
|
|
|
|
this.read = ir.isRead();
|
|
}
|
|
|
|
@Override
|
|
int getType() {
|
|
return INTRODUCTION_IN;
|
|
}
|
|
|
|
@Override
|
|
public boolean isRead() {
|
|
return read;
|
|
}
|
|
|
|
@Override
|
|
public void setRead(boolean read) {
|
|
this.read = read;
|
|
}
|
|
}
|