{"action":"closed","issue":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1281","labels_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1281/labels{/name}","comments_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1281/comments","events_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1281/events","html_url":"https://github.com/WHAnonymous/Chat-API/issues/1281","id":120660587,"number":1281,"title":"messages are not decrypted ","user":{"login":"ahmedmus","id":13529098,"avatar_url":"https://avatars.githubusercontent.com/u/13529098?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmedmus","html_url":"https://github.com/ahmedmus","followers_url":"https://api.github.com/users/ahmedmus/followers","following_url":"https://api.github.com/users/ahmedmus/following{/other_user}","gists_url":"https://api.github.com/users/ahmedmus/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedmus/subscriptions","organizations_url":"https://api.github.com/users/ahmedmus/orgs","repos_url":"https://api.github.com/users/ahmedmus/repos","events_url":"https://api.github.com/users/ahmedmus/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedmus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T21:24:22Z","updated_at":"2015-12-07T00:05:03Z","closed_at":"2015-12-07T00:05:03Z","body":"I am receiving decrypted messages I have tried to follow the error (I know it is not a professional way of debugging  ) it turns out that on `MessageHandeler.php` on `processMessageNode` function \r\nthe statement `if (extension_loaded('curve25519') && extension_loaded('protobuf'))` is returning `false`\r\nso the messages is no decrypted and the onGetMessage is not fired \r\nwhat would be the problem .\r\nI have tried to make these lines outside the if statement  : \r\n\r\n```php\r\n$dec_node = $this->processEncryptedNode($node);\r\n\t\techo\"</br>decrypt</br>\";\r\n\t\tprint_r($dec_node);\r\n```\r\n\r\nbut I get this error : \r\n```\r\nFatal error: Class 'IdentityKey' not found in C:\\wamp\\www\\whatsapp_project\\Chat-API-master\\src\\handlers\\IqHandler.php on line 253\r\nCall Stack\r\n#\tTime\tMemory\tFunction\tLocation\r\n1\t0.0023\t250768\t{main}( )\t..\\reciveMsg.php:0\r\n2\t4.2657\t2577864\tWhatsProt->sendGetPrivacyBlockedList( )\t..\\reciveMsg.php:21\r\n3\t4.2697\t2580832\tWhatsProt->waitForServer( )\t..\\whatsprot.class.php:761\r\n4\t4.2698\t2580896\tWhatsProt->pollMessage( )\t..\\whatsprot.class.php:1776\r\n5\t4.3854\t2581704\tWhatsProt->processInboundData( )\t..\\whatsprot.class.php:302\r\n6\t4.4014\t2584536\tWhatsProt->processInboundDataNode( )\t..\\whatsprot.class.php:2028\r\n7\t4.4022\t2592664\tMessageHandler->Process( )\t..\\whatsprot.class.php:2314\r\n8\t4.4025\t2594272\tMessageHandler->processMessageNode( )\t..\\MessageHandler.php:40\r\n9\t4.4026\t2596272\tMessageHandler->processEncryptedNode( )\t..\\MessageHandler.php:256\r\n10\t4.4664\t2597288\tWhatsProt->sendGetCipherKeysFromUser( )\t..\\MessageHandler.php:341\r\n11\t4.4726\t2600584\tWhatsProt->waitForServer( )\t..\\whatsprot.class.php:429\r\n12\t4.4726\t2600728\tWhatsProt->pollMessage( )\t..\\whatsprot.class.php:1776\r\n13\t4.4729\t2601536\tWhatsProt->processInboundData( )\t..\\whatsprot.class.php:302\r\n14\t4.4830\t2604320\tWhatsProt->processInboundDataNode( )\t..\\whatsprot.class.php:2028\r\n15\t4.4835\t2605576\tMessageHandler->Process( )\t..\\whatsprot.class.php:2314\r\n16\t4.4837\t2605656\tMessageHandler->processMessageNode( )\t..\\MessageHandler.php:40\r\n17\t4.4838\t2605656\tMessageHandler->processEncryptedNode( )\t..\\MessageHandler.php:256\r\n18\t4.4850\t2605816\tWhatsProt->sendGetCipherKeysFromUser( )\t..\\MessageHandler.php:341\r\n19\t4.4904\t2608912\tWhatsProt->waitForServer( )\t..\\whatsprot.class.php:429\r\n20\t4.4904\t2609056\tWhatsProt->pollMessage( )\t..\\whatsprot.class.php:1776\r\n21\t4.4907\t2609864\tWhatsProt->processInboundData( )\t..\\whatsprot.class.php:302\r\n22\t4.5004\t2743624\tWhatsProt->processInboundDataNode( )\t..\\whatsprot.class.php:2028\r\n23\t4.5011\t2744880\tMessageHandler->Process( )\t..\\whatsprot.class.php:2314\r\n24\t4.5013\t2744960\tMessageHandler->processMessageNode( )\t..\\MessageHandler.php:40\r\n25\t4.5013\t2744960\tMessageHandler->processEncryptedNode( )\t..\\MessageHandler.php:256\r\n26\t4.5024\t2745120\tWhatsProt->sendGetCipherKeysFromUser( )\t..\\MessageHandler.php:341\r\n27\t4.5077\t2748216\tWhatsProt->waitForServer( )\t..\\whatsprot.class.php:429\r\n28\t6.3465\t2757728\tWhatsProt->pollMessage( )\t..\\whatsprot.class.php:1776\r\n29\t6.3467\t2758656\tWhatsProt->processInboundData( )\t..\\whatsprot.class.php:302\r\n30\t6.3659\t2767632\tWhatsProt->processInboundDataNode( )\t..\\whatsprot.class.php:2028\r\n31\t6.3672\t2767688\tIqHandler->Process( )\t..\\whatsprot.class.php:2314\r\n```\r\n\r\nwhat would be the problem ?"}}