mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-02 15:42:15 +00:00
25 lines
530 B
Java
25 lines
530 B
Java
package org.whispersystems.textsecure.push;
|
|
|
|
import org.whispersystems.textsecure.storage.RecipientDevice;
|
|
|
|
public class PushAddress extends RecipientDevice {
|
|
|
|
private final String e164number;
|
|
private final String relay;
|
|
|
|
public PushAddress(long recipientId, String e164number, int deviceId, String relay) {
|
|
super(recipientId, deviceId);
|
|
this.e164number = e164number;
|
|
this.relay = relay;
|
|
}
|
|
|
|
public String getNumber() {
|
|
return e164number;
|
|
}
|
|
|
|
public String getRelay() {
|
|
return relay;
|
|
}
|
|
|
|
}
|