Set 'send time' on outgoing messages
This commit is contained in:
parent
e1173d0619
commit
7b14081c63
@ -264,6 +264,9 @@ public class Plaintext implements Streamable {
|
||||
}
|
||||
|
||||
public void setStatus(Status status) {
|
||||
if (status != Status.RECEIVED && sent == null && status != Status.DRAFT) {
|
||||
sent = UnixTime.now();
|
||||
}
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user