aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-28 12:54:54 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-28 12:54:54 +0200
commitff0c114cd66b0fcae6fe8d6598fde48d9c1c5bd4 (patch)
treed00f1c60745f9859344341ab2208f3ce18d8d162 /src/main/java/eu
parent9c94c9ad8fe10aa1ffeb122b1db114680a7d95a2 (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.java3
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);
}
}