Skip to content

Commit

Permalink
Merge pull request #1069 from cmeerw/use-v1-for-group-msg-retry
Browse files Browse the repository at this point in the history
send group message retries with v="1"
  • Loading branch information
cmeerw committed May 5, 2016
2 parents c3dc8f5 + 431810f commit 231390a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/loqui/connectors/coseme.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ App.connectors.coseme = function (account) {
var count = msg.count ? Number(msg.count) + 1 : 1;
MI.call('message_retry', [msg.groupJid ? msg.groupJid : msg.remoteJid,
msg.msgId, axolLocalReg.registrationId,
count.toString(), msg.v,
count.toString(),
msg.groupJid ? '1' : msg.v,
msg.groupJid ? msg.remoteJid : null]);
} else {
MI.call('message_error', [msg.groupJid ? msg.groupJid : msg.remoteJid,
Expand Down

0 comments on commit 231390a

Please sign in to comment.