mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 13:38:06 +01:00
Make the ServiceIdentifier interface sealed
This commit is contained in:
committed by
ravi-signal
parent
70134507f8
commit
db4aa99ce0
@@ -18,7 +18,7 @@ import org.signal.libsignal.protocol.ServiceId;
|
||||
description = "A service identifier is a tuple of a UUID and identity type that identifies an account and identity within the Signal service.",
|
||||
subTypes = {AciServiceIdentifier.class, PniServiceIdentifier.class}
|
||||
)
|
||||
public interface ServiceIdentifier {
|
||||
public sealed interface ServiceIdentifier permits AciServiceIdentifier, PniServiceIdentifier {
|
||||
|
||||
/**
|
||||
* Returns the identity type of this account identifier.
|
||||
|
||||
Reference in New Issue
Block a user