mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
ee1e52aa4c
commit
804949ddea
2 changed files with 37 additions and 1 deletions
|
@ -65,4 +65,23 @@ public interface Signal extends DBusInterface {
|
|||
return attachments;
|
||||
}
|
||||
}
|
||||
|
||||
class ReceiptReceived extends DBusSignal {
|
||||
private long timestamp;
|
||||
private String sender;
|
||||
|
||||
public ReceiptReceived(String objectpath, long timestamp, String sender) throws DBusException {
|
||||
super(objectpath, timestamp, sender);
|
||||
this.timestamp = timestamp;
|
||||
this.sender = sender;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public String getSender() {
|
||||
return sender;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue