mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Add sharing information to private group ActionBar subtitle
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.briarproject.briar.api.privategroup.event;
|
||||
|
||||
import org.briarproject.bramble.api.contact.ContactId;
|
||||
import org.briarproject.bramble.api.event.Event;
|
||||
import org.briarproject.bramble.api.identity.AuthorId;
|
||||
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
||||
@@ -14,12 +15,14 @@ public class ContactRelationshipRevealedEvent extends Event {
|
||||
|
||||
private final GroupId groupId;
|
||||
private final AuthorId memberId;
|
||||
private final ContactId contactId;
|
||||
private final Visibility visibility;
|
||||
|
||||
public ContactRelationshipRevealedEvent(GroupId groupId, AuthorId memberId,
|
||||
Visibility visibility) {
|
||||
ContactId contactId, Visibility visibility) {
|
||||
this.groupId = groupId;
|
||||
this.memberId = memberId;
|
||||
this.contactId = contactId;
|
||||
this.visibility = visibility;
|
||||
}
|
||||
|
||||
@@ -31,6 +34,10 @@ public class ContactRelationshipRevealedEvent extends Event {
|
||||
return memberId;
|
||||
}
|
||||
|
||||
public ContactId getContactId() {
|
||||
return contactId;
|
||||
}
|
||||
|
||||
public Visibility getVisibility() {
|
||||
return visibility;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user