{"action":"created","comment":{"url":"https://api.github.com/repos/esl/escalus/pulls/comments/40904254","id":40904254,"diff_hunk":"@@ -577,6 +578,13 @@ adhoc_request(Node, Payload) ->\n                                    {<<\"action\">>, <<\"execute\">>}],\n                           children = Payload}]).\n \n+ping_request(To) ->\n+    IQ = iq(<<\"get\">>, [#xmlel{name = <<\"ping\">>,\n+                               attrs = [{<<\"xmlns\">>, ?NS_PING}]\n+                              }]),\n+    to(IQ, To).\n+\n+\n -spec service_discovery(binary()) -> #xmlel{}.","path":"src/escalus_stanza.erl","position":19,"original_position":19,"commit_id":"165f00e36076997f492089e2b5a8ce058a16d0c6","original_commit_id":"165f00e36076997f492089e2b5a8ce058a16d0c6","user":{"login":"gadgetci","id":10134338,"avatar_url":"https://avatars.githubusercontent.com/u/10134338?v=3","gravatar_id":"","url":"https://api.github.com/users/gadgetci","html_url":"https://github.com/gadgetci","followers_url":"https://api.github.com/users/gadgetci/followers","following_url":"https://api.github.com/users/gadgetci/following{/other_user}","gists_url":"https://api.github.com/users/gadgetci/gists{/gist_id}","starred_url":"https://api.github.com/users/gadgetci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadgetci/subscriptions","organizations_url":"https://api.github.com/users/gadgetci/orgs","repos_url":"https://api.github.com/users/gadgetci/repos","events_url":"https://api.github.com/users/gadgetci/events{/privacy}","received_events_url":"https://api.github.com/users/gadgetci/received_events","type":"User","site_admin":false},"body":"According to **Elvis**:\n> The spec in line 588 uses a record, please define a type for the record and use that instead.","created_at":"2015-10-01T11:45:48Z","updated_at":"2015-10-01T11:45:48Z","html_url":"https://github.com/esl/escalus/pull/80#discussion_r40904254","pull_request_url":"https://api.github.com/repos/esl/escalus/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/esl/escalus/pulls/comments/40904254"},"html":{"href":"https://github.com/esl/escalus/pull/80#discussion_r40904254"},"pull_request":{"href":"https://api.github.com/repos/esl/escalus/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/esl/escalus/pulls/80","id":46513557,"html_url":"https://github.com/esl/escalus/pull/80","diff_url":"https://github.com/esl/escalus/pull/80.diff","patch_url":"https://github.com/esl/escalus/pull/80.patch","issue_url":"https://api.github.com/repos/esl/escalus/issues/80","number":80,"state":"open","locked":false,"title":"add ping request iq","user":{"login":"michalwski","id":705828,"avatar_url":"https://avatars.githubusercontent.com/u/705828?v=3","gravatar_id":"","url":"https://api.github.com/users/michalwski","html_url":"https://github.com/michalwski","followers_url":"https://api.github.com/users/michalwski/followers","following_url":"https://api.github.com/users/michalwski/following{/other_user}","gists_url":"https://api.github.com/users/michalwski/gists{/gist_id}","starred_url":"https://api.github.com/users/michalwski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalwski/subscriptions","organizations_url":"https://api.github.com/users/michalwski/orgs","repos_url":"https://api.github.com/users/michalwski/repos","events_url":"https://api.github.com/users/michalwski/events{/privacy}","received_events_url":"https://api.github.com/users/michalwski/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-01T11:45:47Z","updated_at":"2015-10-01T11:45:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6f794b2e8634bf5764cd7e9b6c5396a251914fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/esl/escalus/pulls/80/commits","review_comments_url":"https://api.github.com/repos/esl/escalus/pulls/80/comments","review_comment_url":"https://api.github.com/repos/esl/escalus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esl/escalus/issues/80/comments","statuses_url":"https://api.github.com/repos/esl/escalus/statuses/165f00e36076997f492089e2b5a8ce058a16d0c6","head":{"label":"esl:ping-request","ref":"ping-request","sha":"165f00e36076997f492089e2b5a8ce058a16d0c6","user":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"repo":{"id":1934832,"name":"escalus","full_name":"esl/escalus","owner":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/esl/escalus","description":"Erlang XMPP client library for convenient testing of XMPP servers","fork":false,"url":"https://api.github.com/repos/esl/escalus","forks_url":"https://api.github.com/repos/esl/escalus/forks","keys_url":"https://api.github.com/repos/esl/escalus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esl/escalus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esl/escalus/teams","hooks_url":"https://api.github.com/repos/esl/escalus/hooks","issue_events_url":"https://api.github.com/repos/esl/escalus/issues/events{/number}","events_url":"https://api.github.com/repos/esl/escalus/events","assignees_url":"https://api.github.com/repos/esl/escalus/assignees{/user}","branches_url":"https://api.github.com/repos/esl/escalus/branches{/branch}","tags_url":"https://api.github.com/repos/esl/escalus/tags","blobs_url":"https://api.github.com/repos/esl/escalus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esl/escalus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esl/escalus/git/refs{/sha}","trees_url":"https://api.github.com/repos/esl/escalus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esl/escalus/statuses/{sha}","languages_url":"https://api.github.com/repos/esl/escalus/languages","stargazers_url":"https://api.github.com/repos/esl/escalus/stargazers","contributors_url":"https://api.github.com/repos/esl/escalus/contributors","subscribers_url":"https://api.github.com/repos/esl/escalus/subscribers","subscription_url":"https://api.github.com/repos/esl/escalus/subscription","commits_url":"https://api.github.com/repos/esl/escalus/commits{/sha}","git_commits_url":"https://api.github.com/repos/esl/escalus/git/commits{/sha}","comments_url":"https://api.github.com/repos/esl/escalus/comments{/number}","issue_comment_url":"https://api.github.com/repos/esl/escalus/issues/comments{/number}","contents_url":"https://api.github.com/repos/esl/escalus/contents/{+path}","compare_url":"https://api.github.com/repos/esl/escalus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esl/escalus/merges","archive_url":"https://api.github.com/repos/esl/escalus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esl/escalus/downloads","issues_url":"https://api.github.com/repos/esl/escalus/issues{/number}","pulls_url":"https://api.github.com/repos/esl/escalus/pulls{/number}","milestones_url":"https://api.github.com/repos/esl/escalus/milestones{/number}","notifications_url":"https://api.github.com/repos/esl/escalus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esl/escalus/labels{/name}","releases_url":"https://api.github.com/repos/esl/escalus/releases{/id}","created_at":"2011-06-22T13:03:44Z","updated_at":"2015-09-24T13:19:16Z","pushed_at":"2015-10-01T11:45:47Z","git_url":"git://github.com/esl/escalus.git","ssh_url":"git@github.com:esl/escalus.git","clone_url":"https://github.com/esl/escalus.git","svn_url":"https://github.com/esl/escalus","homepage":"","size":3488,"stargazers_count":52,"watchers_count":52,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":13,"forks":33,"open_issues":13,"watchers":52,"default_branch":"master"}},"base":{"label":"esl:master","ref":"master","sha":"07ed66ccd52a57af2a8556cc7015fbda1a0104a0","user":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"repo":{"id":1934832,"name":"escalus","full_name":"esl/escalus","owner":{"login":"esl","id":283412,"avatar_url":"https://avatars.githubusercontent.com/u/283412?v=3","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/esl/escalus","description":"Erlang XMPP client library for convenient testing of XMPP servers","fork":false,"url":"https://api.github.com/repos/esl/escalus","forks_url":"https://api.github.com/repos/esl/escalus/forks","keys_url":"https://api.github.com/repos/esl/escalus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esl/escalus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esl/escalus/teams","hooks_url":"https://api.github.com/repos/esl/escalus/hooks","issue_events_url":"https://api.github.com/repos/esl/escalus/issues/events{/number}","events_url":"https://api.github.com/repos/esl/escalus/events","assignees_url":"https://api.github.com/repos/esl/escalus/assignees{/user}","branches_url":"https://api.github.com/repos/esl/escalus/branches{/branch}","tags_url":"https://api.github.com/repos/esl/escalus/tags","blobs_url":"https://api.github.com/repos/esl/escalus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esl/escalus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esl/escalus/git/refs{/sha}","trees_url":"https://api.github.com/repos/esl/escalus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esl/escalus/statuses/{sha}","languages_url":"https://api.github.com/repos/esl/escalus/languages","stargazers_url":"https://api.github.com/repos/esl/escalus/stargazers","contributors_url":"https://api.github.com/repos/esl/escalus/contributors","subscribers_url":"https://api.github.com/repos/esl/escalus/subscribers","subscription_url":"https://api.github.com/repos/esl/escalus/subscription","commits_url":"https://api.github.com/repos/esl/escalus/commits{/sha}","git_commits_url":"https://api.github.com/repos/esl/escalus/git/commits{/sha}","comments_url":"https://api.github.com/repos/esl/escalus/comments{/number}","issue_comment_url":"https://api.github.com/repos/esl/escalus/issues/comments{/number}","contents_url":"https://api.github.com/repos/esl/escalus/contents/{+path}","compare_url":"https://api.github.com/repos/esl/escalus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esl/escalus/merges","archive_url":"https://api.github.com/repos/esl/escalus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esl/escalus/downloads","issues_url":"https://api.github.com/repos/esl/escalus/issues{/number}","pulls_url":"https://api.github.com/repos/esl/escalus/pulls{/number}","milestones_url":"https://api.github.com/repos/esl/escalus/milestones{/number}","notifications_url":"https://api.github.com/repos/esl/escalus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esl/escalus/labels{/name}","releases_url":"https://api.github.com/repos/esl/escalus/releases{/id}","created_at":"2011-06-22T13:03:44Z","updated_at":"2015-09-24T13:19:16Z","pushed_at":"2015-10-01T11:45:47Z","git_url":"git://github.com/esl/escalus.git","ssh_url":"git@github.com:esl/escalus.git","clone_url":"https://github.com/esl/escalus.git","svn_url":"https://github.com/esl/escalus","homepage":"","size":3488,"stargazers_count":52,"watchers_count":52,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":13,"forks":33,"open_issues":13,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esl/escalus/pulls/80"},"html":{"href":"https://github.com/esl/escalus/pull/80"},"issue":{"href":"https://api.github.com/repos/esl/escalus/issues/80"},"comments":{"href":"https://api.github.com/repos/esl/escalus/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/esl/escalus/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/esl/escalus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esl/escalus/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/esl/escalus/statuses/165f00e36076997f492089e2b5a8ce058a16d0c6"}}}}