Skip to content

Commit

Permalink
Support message receipt lists
Browse files Browse the repository at this point in the history
  • Loading branch information
poma committed Mar 19, 2015
1 parent 192b5af commit f0e5b33
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WhatsAppApi/Base/WhatsSendBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,13 @@ protected bool processInboundData(byte[] msgdata, bool autoReceipt = true)
break;
}

var list = node.GetChild("list");
if (list != null)
foreach (var receipt in list.GetAllChildren())
{
this.fireOnGetMessageReceivedClient(from, receipt.GetAttribute("id"));
}

//send ack
SendNotificationAck(node, type);
}
Expand Down

0 comments on commit f0e5b33

Please sign in to comment.