set time on resend to current time

fixes #1298
fixes #919
This commit is contained in:
Daniel Gultsch 2015-07-28 12:54:54 +02:00
parent 9c94c9ad8f
commit ff0c114cd6
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}