Add timestamp to dbus MessageReceived signal

This commit is contained in:
AsamK 2016-03-27 23:35:36 +02:00
parent dd934f1304
commit af8a27e87f
2 changed files with 34 additions and 2 deletions

View file

@ -603,6 +603,7 @@ public class Main {
try {
conn.sendSignal(new Signal.MessageReceived(
SIGNAL_OBJECTPATH,
message.getTimestamp(),
envelope.getSource(),
message.getGroupInfo().isPresent() ? message.getGroupInfo().get().getGroupId() : new byte[0],
message.getBody().isPresent() ? message.getBody().get() : "",