diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-07-28 12:54:54 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-07-28 12:54:54 +0200 |
commit | ff0c114cd66b0fcae6fe8d6598fde48d9c1c5bd4 (patch) | |
tree | d00f1c60745f9859344341ab2208f3ce18d8d162 /src/main/java/eu | |
parent | 9c94c9ad8fe10aa1ffeb122b1db114680a7d95a2 (diff) |
set time on resend to current time
fixes #1298
fixes #919
Diffstat (limited to 'src/main/java/eu')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index fa0a8709..cadcf851 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -2533,8 +2533,9 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa } } for (final Message msg : messages) { + msg.setTime(System.currentTimeMillis()); markMessage(msg, Message.STATUS_WAITING); - this.resendMessage(msg,true); + this.resendMessage(msg,false); } } |