{"action":"created","comment":{"url":"https://api.github.com/repos/tgalal/yowsup/pulls/comments/28987082","id":28987082,"diff_hunk":"@@ -13,6 +13,8 @@ def __str__(self):\n     def sendIq(self, entity):\n         if entity.getXmlns() == \"w:profile:picture\":\n             self.toLower(entity.toProtocolTreeNode())\n+        else:\n+            self.entityToLower(entity)","path":"yowsup/layers/protocol_profiles/layer.py","position":5,"original_position":5,"commit_id":"804c713135644bcaf5891cab3948861cc37b8804","original_commit_id":"804c713135644bcaf5891cab3948861cc37b8804","user":{"login":"tgalal","id":895331,"avatar_url":"https://avatars.githubusercontent.com/u/895331?v=3","gravatar_id":"","url":"https://api.github.com/users/tgalal","html_url":"https://github.com/tgalal","followers_url":"https://api.github.com/users/tgalal/followers","following_url":"https://api.github.com/users/tgalal/following{/other_user}","gists_url":"https://api.github.com/users/tgalal/gists{/gist_id}","starred_url":"https://api.github.com/users/tgalal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgalal/subscriptions","organizations_url":"https://api.github.com/users/tgalal/orgs","repos_url":"https://api.github.com/users/tgalal/repos","events_url":"https://api.github.com/users/tgalal/events{/privacy}","received_events_url":"https://api.github.com/users/tgalal/received_events","type":"User","site_admin":false},"body":"This will cause redundant iq messages to be sent, I'm going to change it to:\r\n```\r\n        elif entity.getXmlns() == \"status\":\r\n            self.entityToLower(entity)\r\n````","created_at":"2015-04-23T18:01:14Z","updated_at":"2015-04-23T18:01:14Z","html_url":"https://github.com/tgalal/yowsup/pull/679#discussion_r28987082","pull_request_url":"https://api.github.com/repos/tgalal/yowsup/pulls/679","_links":{"self":{"href":"https://api.github.com/repos/tgalal/yowsup/pulls/comments/28987082"},"html":{"href":"https://github.com/tgalal/yowsup/pull/679#discussion_r28987082"},"pull_request":{"href":"https://api.github.com/repos/tgalal/yowsup/pulls/679"}}},"pull_request":{"url":"https://api.github.com/repos/tgalal/yowsup/pulls/679","id":31017935,"html_url":"https://github.com/tgalal/yowsup/pull/679","diff_url":"https://github.com/tgalal/yowsup/pull/679.diff","patch_url":"https://github.com/tgalal/yowsup/pull/679.patch","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/679","number":679,"state":"open","locked":false,"title":"Profile status set updated","user":{"login":"jlguardi","id":10707343,"avatar_url":"https://avatars.githubusercontent.com/u/10707343?v=3","gravatar_id":"","url":"https://api.github.com/users/jlguardi","html_url":"https://github.com/jlguardi","followers_url":"https://api.github.com/users/jlguardi/followers","following_url":"https://api.github.com/users/jlguardi/following{/other_user}","gists_url":"https://api.github.com/users/jlguardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jlguardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlguardi/subscriptions","organizations_url":"https://api.github.com/users/jlguardi/orgs","repos_url":"https://api.github.com/users/jlguardi/repos","events_url":"https://api.github.com/users/jlguardi/events{/privacy}","received_events_url":"https://api.github.com/users/jlguardi/received_events","type":"User","site_admin":false},"body":"Fixed error while status set.\r\n\r\nBased on waalt/yowsup","created_at":"2015-03-12T09:08:36Z","updated_at":"2015-04-23T18:01:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fcb6b816a90b93928328d73a70bde426db8a5f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgalal/yowsup/pulls/679/commits","review_comments_url":"https://api.github.com/repos/tgalal/yowsup/pulls/679/comments","review_comment_url":"https://api.github.com/repos/tgalal/yowsup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/679/comments","statuses_url":"https://api.github.com/repos/tgalal/yowsup/statuses/804c713135644bcaf5891cab3948861cc37b8804","head":{"label":"jlguardi:master","ref":"master","sha":"804c713135644bcaf5891cab3948861cc37b8804","user":{"login":"jlguardi","id":10707343,"avatar_url":"https://avatars.githubusercontent.com/u/10707343?v=3","gravatar_id":"","url":"https://api.github.com/users/jlguardi","html_url":"https://github.com/jlguardi","followers_url":"https://api.github.com/users/jlguardi/followers","following_url":"https://api.github.com/users/jlguardi/following{/other_user}","gists_url":"https://api.github.com/users/jlguardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jlguardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlguardi/subscriptions","organizations_url":"https://api.github.com/users/jlguardi/orgs","repos_url":"https://api.github.com/users/jlguardi/repos","events_url":"https://api.github.com/users/jlguardi/events{/privacy}","received_events_url":"https://api.github.com/users/jlguardi/received_events","type":"User","site_admin":false},"repo":{"id":32064752,"name":"yowsup","full_name":"jlguardi/yowsup","owner":{"login":"jlguardi","id":10707343,"avatar_url":"https://avatars.githubusercontent.com/u/10707343?v=3","gravatar_id":"","url":"https://api.github.com/users/jlguardi","html_url":"https://github.com/jlguardi","followers_url":"https://api.github.com/users/jlguardi/followers","following_url":"https://api.github.com/users/jlguardi/following{/other_user}","gists_url":"https://api.github.com/users/jlguardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jlguardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlguardi/subscriptions","organizations_url":"https://api.github.com/users/jlguardi/orgs","repos_url":"https://api.github.com/users/jlguardi/repos","events_url":"https://api.github.com/users/jlguardi/events{/privacy}","received_events_url":"https://api.github.com/users/jlguardi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlguardi/yowsup","description":"The python WhatsApp library","fork":true,"url":"https://api.github.com/repos/jlguardi/yowsup","forks_url":"https://api.github.com/repos/jlguardi/yowsup/forks","keys_url":"https://api.github.com/repos/jlguardi/yowsup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlguardi/yowsup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlguardi/yowsup/teams","hooks_url":"https://api.github.com/repos/jlguardi/yowsup/hooks","issue_events_url":"https://api.github.com/repos/jlguardi/yowsup/issues/events{/number}","events_url":"https://api.github.com/repos/jlguardi/yowsup/events","assignees_url":"https://api.github.com/repos/jlguardi/yowsup/assignees{/user}","branches_url":"https://api.github.com/repos/jlguardi/yowsup/branches{/branch}","tags_url":"https://api.github.com/repos/jlguardi/yowsup/tags","blobs_url":"https://api.github.com/repos/jlguardi/yowsup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlguardi/yowsup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlguardi/yowsup/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlguardi/yowsup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlguardi/yowsup/statuses/{sha}","languages_url":"https://api.github.com/repos/jlguardi/yowsup/languages","stargazers_url":"https://api.github.com/repos/jlguardi/yowsup/stargazers","contributors_url":"https://api.github.com/repos/jlguardi/yowsup/contributors","subscribers_url":"https://api.github.com/repos/jlguardi/yowsup/subscribers","subscription_url":"https://api.github.com/repos/jlguardi/yowsup/subscription","commits_url":"https://api.github.com/repos/jlguardi/yowsup/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlguardi/yowsup/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlguardi/yowsup/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlguardi/yowsup/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlguardi/yowsup/contents/{+path}","compare_url":"https://api.github.com/repos/jlguardi/yowsup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlguardi/yowsup/merges","archive_url":"https://api.github.com/repos/jlguardi/yowsup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlguardi/yowsup/downloads","issues_url":"https://api.github.com/repos/jlguardi/yowsup/issues{/number}","pulls_url":"https://api.github.com/repos/jlguardi/yowsup/pulls{/number}","milestones_url":"https://api.github.com/repos/jlguardi/yowsup/milestones{/number}","notifications_url":"https://api.github.com/repos/jlguardi/yowsup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlguardi/yowsup/labels{/name}","releases_url":"https://api.github.com/repos/jlguardi/yowsup/releases{/id}","created_at":"2015-03-12T08:05:37Z","updated_at":"2015-03-12T09:02:16Z","pushed_at":"2015-03-12T09:02:16Z","git_url":"git://github.com/jlguardi/yowsup.git","ssh_url":"git@github.com:jlguardi/yowsup.git","clone_url":"https://github.com/jlguardi/yowsup.git","svn_url":"https://github.com/jlguardi/yowsup","homepage":"http://www.openwhatsapp.org","size":1210,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tgalal:master","ref":"master","sha":"321d0a88fa23879b71e98b7b91aac5bbdbee3c6e","user":{"login":"tgalal","id":895331,"avatar_url":"https://avatars.githubusercontent.com/u/895331?v=3","gravatar_id":"","url":"https://api.github.com/users/tgalal","html_url":"https://github.com/tgalal","followers_url":"https://api.github.com/users/tgalal/followers","following_url":"https://api.github.com/users/tgalal/following{/other_user}","gists_url":"https://api.github.com/users/tgalal/gists{/gist_id}","starred_url":"https://api.github.com/users/tgalal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgalal/subscriptions","organizations_url":"https://api.github.com/users/tgalal/orgs","repos_url":"https://api.github.com/users/tgalal/repos","events_url":"https://api.github.com/users/tgalal/events{/privacy}","received_events_url":"https://api.github.com/users/tgalal/received_events","type":"User","site_admin":false},"repo":{"id":6523023,"name":"yowsup","full_name":"tgalal/yowsup","owner":{"login":"tgalal","id":895331,"avatar_url":"https://avatars.githubusercontent.com/u/895331?v=3","gravatar_id":"","url":"https://api.github.com/users/tgalal","html_url":"https://github.com/tgalal","followers_url":"https://api.github.com/users/tgalal/followers","following_url":"https://api.github.com/users/tgalal/following{/other_user}","gists_url":"https://api.github.com/users/tgalal/gists{/gist_id}","starred_url":"https://api.github.com/users/tgalal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgalal/subscriptions","organizations_url":"https://api.github.com/users/tgalal/orgs","repos_url":"https://api.github.com/users/tgalal/repos","events_url":"https://api.github.com/users/tgalal/events{/privacy}","received_events_url":"https://api.github.com/users/tgalal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgalal/yowsup","description":"The python WhatsApp library","fork":false,"url":"https://api.github.com/repos/tgalal/yowsup","forks_url":"https://api.github.com/repos/tgalal/yowsup/forks","keys_url":"https://api.github.com/repos/tgalal/yowsup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgalal/yowsup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgalal/yowsup/teams","hooks_url":"https://api.github.com/repos/tgalal/yowsup/hooks","issue_events_url":"https://api.github.com/repos/tgalal/yowsup/issues/events{/number}","events_url":"https://api.github.com/repos/tgalal/yowsup/events","assignees_url":"https://api.github.com/repos/tgalal/yowsup/assignees{/user}","branches_url":"https://api.github.com/repos/tgalal/yowsup/branches{/branch}","tags_url":"https://api.github.com/repos/tgalal/yowsup/tags","blobs_url":"https://api.github.com/repos/tgalal/yowsup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgalal/yowsup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgalal/yowsup/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgalal/yowsup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgalal/yowsup/statuses/{sha}","languages_url":"https://api.github.com/repos/tgalal/yowsup/languages","stargazers_url":"https://api.github.com/repos/tgalal/yowsup/stargazers","contributors_url":"https://api.github.com/repos/tgalal/yowsup/contributors","subscribers_url":"https://api.github.com/repos/tgalal/yowsup/subscribers","subscription_url":"https://api.github.com/repos/tgalal/yowsup/subscription","commits_url":"https://api.github.com/repos/tgalal/yowsup/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgalal/yowsup/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgalal/yowsup/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgalal/yowsup/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgalal/yowsup/contents/{+path}","compare_url":"https://api.github.com/repos/tgalal/yowsup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgalal/yowsup/merges","archive_url":"https://api.github.com/repos/tgalal/yowsup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgalal/yowsup/downloads","issues_url":"https://api.github.com/repos/tgalal/yowsup/issues{/number}","pulls_url":"https://api.github.com/repos/tgalal/yowsup/pulls{/number}","milestones_url":"https://api.github.com/repos/tgalal/yowsup/milestones{/number}","notifications_url":"https://api.github.com/repos/tgalal/yowsup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgalal/yowsup/labels{/name}","releases_url":"https://api.github.com/repos/tgalal/yowsup/releases{/id}","created_at":"2012-11-03T19:00:14Z","updated_at":"2015-04-23T17:29:09Z","pushed_at":"2015-04-23T16:51:58Z","git_url":"git://github.com/tgalal/yowsup.git","ssh_url":"git@github.com:tgalal/yowsup.git","clone_url":"https://github.com/tgalal/yowsup.git","svn_url":"https://github.com/tgalal/yowsup","homepage":"","size":3813,"stargazers_count":1908,"watchers_count":1908,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":694,"mirror_url":null,"open_issues_count":178,"forks":694,"open_issues":178,"watchers":1908,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgalal/yowsup/pulls/679"},"html":{"href":"https://github.com/tgalal/yowsup/pull/679"},"issue":{"href":"https://api.github.com/repos/tgalal/yowsup/issues/679"},"comments":{"href":"https://api.github.com/repos/tgalal/yowsup/issues/679/comments"},"review_comments":{"href":"https://api.github.com/repos/tgalal/yowsup/pulls/679/comments"},"review_comment":{"href":"https://api.github.com/repos/tgalal/yowsup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgalal/yowsup/pulls/679/commits"},"statuses":{"href":"https://api.github.com/repos/tgalal/yowsup/statuses/804c713135644bcaf5891cab3948861cc37b8804"}}}}