private void TypeNotification(ProtocolTreeNode messageNode, string tmpAttrFrom, string tmpAttrbId)
{
//bool tmpIsRequest = false;
foreach (ProtocolTreeNode tmpChild in (messageNode.GetAllChildren() ?? new ProtocolTreeNode[0]))
{
if (ProtocolTreeNode.TagEquals(tmpChild, "notification"))
{
string tmpChildType = tmpChild.GetAttribute("type");
if (StringComparer.Ordinal.Equals(tmpChildType, "picture"))
{
TypeNotificationPicture(tmpChild, tmpAttrFrom);
}
}
else if (ProtocolTreeNode.TagEquals(tmpChild, "request"))
{
this.sendHandler.SendNotificationReceived(tmpAttrFrom, tmpAttrbId);
}
}
}