{"action":"created","comment":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/comments/65822594","id":65822594,"diff_hunk":"@@ -72,6 +74,14 @@ - (JSQMessagesBubbleImage *)incomingMessagesBubbleImageWithColor:(UIColor *)colo\n     return [self jsq_messagesBubbleImageWithColor:color flippedForIncoming:YES ^ self.isRightToLeftLanguage];\n }\n \n+- (BOOL)isRightToLeftLanguage:(UIUserInterfaceLayoutDirection)layoutDirection {\n+    if (layoutDirection == UIUserInterfaceLayoutDirectionRightToLeft) {\n+        return true;\n+    } else {\n+    return false;\n+    }\n+}","path":"JSQMessagesViewController/Factories/JSQMessagesBubbleImageFactory.m","position":57,"original_position":41,"commit_id":"ad7f33c8bfc87f93cfe5bbaac1f4191b72212bcc","original_commit_id":"d3f96794ec8c4dca40944f774eac33d3f8dc3d73","user":{"login":"jessesquires","id":2301114,"avatar_url":"https://avatars.githubusercontent.com/u/2301114?v=3","gravatar_id":"","url":"https://api.github.com/users/jessesquires","html_url":"https://github.com/jessesquires","followers_url":"https://api.github.com/users/jessesquires/followers","following_url":"https://api.github.com/users/jessesquires/following{/other_user}","gists_url":"https://api.github.com/users/jessesquires/gists{/gist_id}","starred_url":"https://api.github.com/users/jessesquires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessesquires/subscriptions","organizations_url":"https://api.github.com/users/jessesquires/orgs","repos_url":"https://api.github.com/users/jessesquires/repos","events_url":"https://api.github.com/users/jessesquires/events{/privacy}","received_events_url":"https://api.github.com/users/jessesquires/received_events","type":"User","site_admin":false},"body":"this should be:\r\n\r\n```objc\r\n- (BOOL)isRightToLeftLanguage {\r\n    return (self.layoutDirection == UIUserInterfaceLayoutDirectionRightToLeft);\r\n}\r\n```","created_at":"2016-06-05T19:05:44Z","updated_at":"2016-06-05T19:05:44Z","html_url":"https://github.com/jessesquires/JSQMessagesViewController/pull/1637#discussion_r65822594","pull_request_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637","_links":{"self":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/comments/65822594"},"html":{"href":"https://github.com/jessesquires/JSQMessagesViewController/pull/1637#discussion_r65822594"},"pull_request":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637"}}},"pull_request":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637","id":72578768,"html_url":"https://github.com/jessesquires/JSQMessagesViewController/pull/1637","diff_url":"https://github.com/jessesquires/JSQMessagesViewController/pull/1637.diff","patch_url":"https://github.com/jessesquires/JSQMessagesViewController/pull/1637.patch","issue_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1637","number":1637,"state":"open","locked":false,"title":"Remove `sharedApplication` reference from JSQMessagesBubbleImageFactory. Closes #1600","user":{"login":"MacMeDan","id":6182351,"avatar_url":"https://avatars.githubusercontent.com/u/6182351?v=3","gravatar_id":"","url":"https://api.github.com/users/MacMeDan","html_url":"https://github.com/MacMeDan","followers_url":"https://api.github.com/users/MacMeDan/followers","following_url":"https://api.github.com/users/MacMeDan/following{/other_user}","gists_url":"https://api.github.com/users/MacMeDan/gists{/gist_id}","starred_url":"https://api.github.com/users/MacMeDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacMeDan/subscriptions","organizations_url":"https://api.github.com/users/MacMeDan/orgs","repos_url":"https://api.github.com/users/MacMeDan/repos","events_url":"https://api.github.com/users/MacMeDan/events{/privacy}","received_events_url":"https://api.github.com/users/MacMeDan/received_events","type":"User","site_admin":false},"body":"## Pull request checklist\r\n\r\n- [X] All tests pass. Demo project builds and runs.\r\n- [X] I have resolved any merge conflicts.\r\n- [X] I have followed the [coding style](https://github.com/jessesquires/HowToContribute#style-guidelines), and reviewed the [contributing guidelines](https://github.com/jessesquires/JSQMessagesViewController/blob/develop/.github/CONTRIBUTING.md). Confirmation: 💪😎👊\r\n\r\n#### This fixes issue #1600 .\r\n\r\n## What's in this pull request?\r\n\r\n> Add display images default based on `UIUserInterfaceLayoutDirection` and configurable property to overwrite \r\n> Tests for flipping images based on language direction.","created_at":"2016-06-03T22:28:29Z","updated_at":"2016-06-05T19:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef9540dada25b031e3eeeada74db9d05a8a758db","assignee":null,"milestone":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/milestones/7","html_url":"https://github.com/jessesquires/JSQMessagesViewController/milestones/8.0.0","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/milestones/7/labels","id":917263,"number":7,"title":"8.0.0","description":"* Dropping iOS 7 support. Library will be iOS 8+ only.\r\n* Breaking API changes from version 7.x.x\r\n\r\nWork happening on the [`release 8.0`](https://github.com/jessesquires/JSQMessagesViewController/tree/release_8.0) branch.\r\n","creator":{"login":"jessesquires","id":2301114,"avatar_url":"https://avatars.githubusercontent.com/u/2301114?v=3","gravatar_id":"","url":"https://api.github.com/users/jessesquires","html_url":"https://github.com/jessesquires","followers_url":"https://api.github.com/users/jessesquires/followers","following_url":"https://api.github.com/users/jessesquires/following{/other_user}","gists_url":"https://api.github.com/users/jessesquires/gists{/gist_id}","starred_url":"https://api.github.com/users/jessesquires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessesquires/subscriptions","organizations_url":"https://api.github.com/users/jessesquires/orgs","repos_url":"https://api.github.com/users/jessesquires/repos","events_url":"https://api.github.com/users/jessesquires/events{/privacy}","received_events_url":"https://api.github.com/users/jessesquires/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":22,"state":"open","created_at":"2014-12-30T01:47:08Z","updated_at":"2016-06-05T19:00:24Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637/commits","review_comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637/comments","review_comment_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1637/comments","statuses_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/statuses/ad7f33c8bfc87f93cfe5bbaac1f4191b72212bcc","head":{"label":"MacMeDan:SharedApplication#1600","ref":"SharedApplication#1600","sha":"ad7f33c8bfc87f93cfe5bbaac1f4191b72212bcc","user":{"login":"MacMeDan","id":6182351,"avatar_url":"https://avatars.githubusercontent.com/u/6182351?v=3","gravatar_id":"","url":"https://api.github.com/users/MacMeDan","html_url":"https://github.com/MacMeDan","followers_url":"https://api.github.com/users/MacMeDan/followers","following_url":"https://api.github.com/users/MacMeDan/following{/other_user}","gists_url":"https://api.github.com/users/MacMeDan/gists{/gist_id}","starred_url":"https://api.github.com/users/MacMeDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacMeDan/subscriptions","organizations_url":"https://api.github.com/users/MacMeDan/orgs","repos_url":"https://api.github.com/users/MacMeDan/repos","events_url":"https://api.github.com/users/MacMeDan/events{/privacy}","received_events_url":"https://api.github.com/users/MacMeDan/received_events","type":"User","site_admin":false},"repo":{"id":53453904,"name":"JSQMessagesViewController","full_name":"MacMeDan/JSQMessagesViewController","owner":{"login":"MacMeDan","id":6182351,"avatar_url":"https://avatars.githubusercontent.com/u/6182351?v=3","gravatar_id":"","url":"https://api.github.com/users/MacMeDan","html_url":"https://github.com/MacMeDan","followers_url":"https://api.github.com/users/MacMeDan/followers","following_url":"https://api.github.com/users/MacMeDan/following{/other_user}","gists_url":"https://api.github.com/users/MacMeDan/gists{/gist_id}","starred_url":"https://api.github.com/users/MacMeDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacMeDan/subscriptions","organizations_url":"https://api.github.com/users/MacMeDan/orgs","repos_url":"https://api.github.com/users/MacMeDan/repos","events_url":"https://api.github.com/users/MacMeDan/events{/privacy}","received_events_url":"https://api.github.com/users/MacMeDan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MacMeDan/JSQMessagesViewController","description":"An elegant messages UI library for iOS","fork":true,"url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController","forks_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/forks","keys_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/teams","hooks_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/hooks","issue_events_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/issues/events{/number}","events_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/events","assignees_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/assignees{/user}","branches_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/branches{/branch}","tags_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/tags","blobs_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/git/refs{/sha}","trees_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/statuses/{sha}","languages_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/languages","stargazers_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/stargazers","contributors_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/contributors","subscribers_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/subscribers","subscription_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/subscription","commits_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/commits{/sha}","git_commits_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/git/commits{/sha}","comments_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/comments{/number}","issue_comment_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/issues/comments{/number}","contents_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/contents/{+path}","compare_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/merges","archive_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/downloads","issues_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/issues{/number}","pulls_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/pulls{/number}","milestones_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/milestones{/number}","notifications_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/labels{/name}","releases_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/releases{/id}","deployments_url":"https://api.github.com/repos/MacMeDan/JSQMessagesViewController/deployments","created_at":"2016-03-08T23:54:45Z","updated_at":"2016-03-08T23:54:46Z","pushed_at":"2016-06-05T18:44:28Z","git_url":"git://github.com/MacMeDan/JSQMessagesViewController.git","ssh_url":"git@github.com:MacMeDan/JSQMessagesViewController.git","clone_url":"https://github.com/MacMeDan/JSQMessagesViewController.git","svn_url":"https://github.com/MacMeDan/JSQMessagesViewController","homepage":"http://jessesquires.com/JSQMessagesViewController","size":20251,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"develop"}},"base":{"label":"jessesquires:develop","ref":"develop","sha":"9eeb5ae535e8d69289f8c55ca706337d75eedc6d","user":{"login":"jessesquires","id":2301114,"avatar_url":"https://avatars.githubusercontent.com/u/2301114?v=3","gravatar_id":"","url":"https://api.github.com/users/jessesquires","html_url":"https://github.com/jessesquires","followers_url":"https://api.github.com/users/jessesquires/followers","following_url":"https://api.github.com/users/jessesquires/following{/other_user}","gists_url":"https://api.github.com/users/jessesquires/gists{/gist_id}","starred_url":"https://api.github.com/users/jessesquires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessesquires/subscriptions","organizations_url":"https://api.github.com/users/jessesquires/orgs","repos_url":"https://api.github.com/users/jessesquires/repos","events_url":"https://api.github.com/users/jessesquires/events{/privacy}","received_events_url":"https://api.github.com/users/jessesquires/received_events","type":"User","site_admin":false},"repo":{"id":8257106,"name":"JSQMessagesViewController","full_name":"jessesquires/JSQMessagesViewController","owner":{"login":"jessesquires","id":2301114,"avatar_url":"https://avatars.githubusercontent.com/u/2301114?v=3","gravatar_id":"","url":"https://api.github.com/users/jessesquires","html_url":"https://github.com/jessesquires","followers_url":"https://api.github.com/users/jessesquires/followers","following_url":"https://api.github.com/users/jessesquires/following{/other_user}","gists_url":"https://api.github.com/users/jessesquires/gists{/gist_id}","starred_url":"https://api.github.com/users/jessesquires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessesquires/subscriptions","organizations_url":"https://api.github.com/users/jessesquires/orgs","repos_url":"https://api.github.com/users/jessesquires/repos","events_url":"https://api.github.com/users/jessesquires/events{/privacy}","received_events_url":"https://api.github.com/users/jessesquires/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jessesquires/JSQMessagesViewController","description":"An elegant messages UI library for iOS","fork":false,"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController","forks_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/forks","keys_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/teams","hooks_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/hooks","issue_events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/events{/number}","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/events","assignees_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/assignees{/user}","branches_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/branches{/branch}","tags_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/tags","blobs_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/git/refs{/sha}","trees_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/statuses/{sha}","languages_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/languages","stargazers_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/stargazers","contributors_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/contributors","subscribers_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/subscribers","subscription_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/subscription","commits_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/commits{/sha}","git_commits_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/git/commits{/sha}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/comments{/number}","issue_comment_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/comments{/number}","contents_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/contents/{+path}","compare_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/merges","archive_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/downloads","issues_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues{/number}","pulls_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls{/number}","milestones_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/milestones{/number}","notifications_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/labels{/name}","releases_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/releases{/id}","deployments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/deployments","created_at":"2013-02-17T21:40:44Z","updated_at":"2016-06-05T17:17:04Z","pushed_at":"2016-06-05T19:00:24Z","git_url":"git://github.com/jessesquires/JSQMessagesViewController.git","ssh_url":"git@github.com:jessesquires/JSQMessagesViewController.git","clone_url":"https://github.com/jessesquires/JSQMessagesViewController.git","svn_url":"https://github.com/jessesquires/JSQMessagesViewController","homepage":"http://jessesquires.com/JSQMessagesViewController/","size":59647,"stargazers_count":8350,"watchers_count":8350,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1927,"mirror_url":null,"open_issues_count":161,"forks":1927,"open_issues":161,"watchers":8350,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637"},"html":{"href":"https://github.com/jessesquires/JSQMessagesViewController/pull/1637"},"issue":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1637"},"comments":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1637/comments"},"review_comments":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637/comments"},"review_comment":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/pulls/1637/commits"},"statuses":{"href":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/statuses/ad7f33c8bfc87f93cfe5bbaac1f4191b72212bcc"}}}}
{"actor":{"display_login":"jessesquires"}}