{"action":"created","comment":{"url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/comments/55885719","id":55885719,"diff_hunk":"@@ -26,6 +26,9 @@\n #define OPT_SELFMESSAGE 0\n #endif\n \n+#define FB_NEW_BUDDY  1","path":"facebook/facebook.c","position":4,"original_position":4,"commit_id":"4d39cce891787ef17bf879220982a0863e67493c","original_commit_id":"4d39cce891787ef17bf879220982a0863e67493c","user":{"login":"jgeboski","id":615378,"avatar_url":"https://avatars.githubusercontent.com/u/615378?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeboski","html_url":"https://github.com/jgeboski","followers_url":"https://api.github.com/users/jgeboski/followers","following_url":"https://api.github.com/users/jgeboski/following{/other_user}","gists_url":"https://api.github.com/users/jgeboski/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeboski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeboski/subscriptions","organizations_url":"https://api.github.com/users/jgeboski/orgs","repos_url":"https://api.github.com/users/jgeboski/repos","events_url":"https://api.github.com/users/jgeboski/events{/privacy}","received_events_url":"https://api.github.com/users/jgeboski/received_events","type":"User","site_admin":false},"body":"Let's prefix these with `FB_BITPTR_` to avoid conflicts in other namespaces. Also, an `enum` might be better suited here.","created_at":"2016-03-11T20:42:10Z","updated_at":"2016-03-11T20:42:10Z","html_url":"https://github.com/jgeboski/bitlbee-facebook/pull/69#discussion_r55885719","pull_request_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/comments/55885719"},"html":{"href":"https://github.com/jgeboski/bitlbee-facebook/pull/69#discussion_r55885719"},"pull_request":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69","id":61972888,"html_url":"https://github.com/jgeboski/bitlbee-facebook/pull/69","diff_url":"https://github.com/jgeboski/bitlbee-facebook/pull/69.diff","patch_url":"https://github.com/jgeboski/bitlbee-facebook/pull/69.patch","issue_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/issues/69","number":69,"state":"open","locked":false,"title":"Mark as read on reply and mark as read only when not away","user":{"login":"mhalden","id":893506,"avatar_url":"https://avatars.githubusercontent.com/u/893506?v=3","gravatar_id":"","url":"https://api.github.com/users/mhalden","html_url":"https://github.com/mhalden","followers_url":"https://api.github.com/users/mhalden/followers","following_url":"https://api.github.com/users/mhalden/following{/other_user}","gists_url":"https://api.github.com/users/mhalden/gists{/gist_id}","starred_url":"https://api.github.com/users/mhalden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhalden/subscriptions","organizations_url":"https://api.github.com/users/mhalden/orgs","repos_url":"https://api.github.com/users/mhalden/repos","events_url":"https://api.github.com/users/mhalden/events{/privacy}","received_events_url":"https://api.github.com/users/mhalden/received_events","type":"User","site_admin":false},"body":"This patch adds a new option reply_mark_read, when this is true messages will be marked as read when you reply in to them.\r\n\r\nThe option mark_read has been changed to accept the value \"not_away\", when this is set it will only mark messages as read when you are not away/invisible. Messages will NOT be marked as read automatically when you come online.","created_at":"2016-03-07T20:10:55Z","updated_at":"2016-03-11T20:42:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a80a450c5ec6c5e82eb5fb308eea93358ac013c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69/commits","review_comments_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69/comments","review_comment_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/issues/69/comments","statuses_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/statuses/4d39cce891787ef17bf879220982a0863e67493c","head":{"label":"mhalden:mark-on-reply","ref":"mark-on-reply","sha":"4d39cce891787ef17bf879220982a0863e67493c","user":{"login":"mhalden","id":893506,"avatar_url":"https://avatars.githubusercontent.com/u/893506?v=3","gravatar_id":"","url":"https://api.github.com/users/mhalden","html_url":"https://github.com/mhalden","followers_url":"https://api.github.com/users/mhalden/followers","following_url":"https://api.github.com/users/mhalden/following{/other_user}","gists_url":"https://api.github.com/users/mhalden/gists{/gist_id}","starred_url":"https://api.github.com/users/mhalden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhalden/subscriptions","organizations_url":"https://api.github.com/users/mhalden/orgs","repos_url":"https://api.github.com/users/mhalden/repos","events_url":"https://api.github.com/users/mhalden/events{/privacy}","received_events_url":"https://api.github.com/users/mhalden/received_events","type":"User","site_admin":false},"repo":{"id":53354964,"name":"bitlbee-facebook","full_name":"mhalden/bitlbee-facebook","owner":{"login":"mhalden","id":893506,"avatar_url":"https://avatars.githubusercontent.com/u/893506?v=3","gravatar_id":"","url":"https://api.github.com/users/mhalden","html_url":"https://github.com/mhalden","followers_url":"https://api.github.com/users/mhalden/followers","following_url":"https://api.github.com/users/mhalden/following{/other_user}","gists_url":"https://api.github.com/users/mhalden/gists{/gist_id}","starred_url":"https://api.github.com/users/mhalden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhalden/subscriptions","organizations_url":"https://api.github.com/users/mhalden/orgs","repos_url":"https://api.github.com/users/mhalden/repos","events_url":"https://api.github.com/users/mhalden/events{/privacy}","received_events_url":"https://api.github.com/users/mhalden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mhalden/bitlbee-facebook","description":"Facebook protocol plugin for BitlBee","fork":true,"url":"https://api.github.com/repos/mhalden/bitlbee-facebook","forks_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/forks","keys_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/teams","hooks_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/hooks","issue_events_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/issues/events{/number}","events_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/events","assignees_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/assignees{/user}","branches_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/branches{/branch}","tags_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/tags","blobs_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/statuses/{sha}","languages_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/languages","stargazers_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/stargazers","contributors_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/contributors","subscribers_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/subscribers","subscription_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/subscription","commits_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/contents/{+path}","compare_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/merges","archive_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/downloads","issues_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/issues{/number}","pulls_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/pulls{/number}","milestones_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/milestones{/number}","notifications_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/labels{/name}","releases_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/releases{/id}","deployments_url":"https://api.github.com/repos/mhalden/bitlbee-facebook/deployments","created_at":"2016-03-07T20:01:30Z","updated_at":"2016-03-07T20:01:30Z","pushed_at":"2016-03-11T20:14:59Z","git_url":"git://github.com/mhalden/bitlbee-facebook.git","ssh_url":"git@github.com:mhalden/bitlbee-facebook.git","clone_url":"https://github.com/mhalden/bitlbee-facebook.git","svn_url":"https://github.com/mhalden/bitlbee-facebook","homepage":null,"size":240,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jgeboski:master","ref":"master","sha":"205d2edcfc2494dbff4bba1dde368b77a961eb86","user":{"login":"jgeboski","id":615378,"avatar_url":"https://avatars.githubusercontent.com/u/615378?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeboski","html_url":"https://github.com/jgeboski","followers_url":"https://api.github.com/users/jgeboski/followers","following_url":"https://api.github.com/users/jgeboski/following{/other_user}","gists_url":"https://api.github.com/users/jgeboski/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeboski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeboski/subscriptions","organizations_url":"https://api.github.com/users/jgeboski/orgs","repos_url":"https://api.github.com/users/jgeboski/repos","events_url":"https://api.github.com/users/jgeboski/events{/privacy}","received_events_url":"https://api.github.com/users/jgeboski/received_events","type":"User","site_admin":false},"repo":{"id":28317638,"name":"bitlbee-facebook","full_name":"jgeboski/bitlbee-facebook","owner":{"login":"jgeboski","id":615378,"avatar_url":"https://avatars.githubusercontent.com/u/615378?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeboski","html_url":"https://github.com/jgeboski","followers_url":"https://api.github.com/users/jgeboski/followers","following_url":"https://api.github.com/users/jgeboski/following{/other_user}","gists_url":"https://api.github.com/users/jgeboski/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeboski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeboski/subscriptions","organizations_url":"https://api.github.com/users/jgeboski/orgs","repos_url":"https://api.github.com/users/jgeboski/repos","events_url":"https://api.github.com/users/jgeboski/events{/privacy}","received_events_url":"https://api.github.com/users/jgeboski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgeboski/bitlbee-facebook","description":"Facebook protocol plugin for BitlBee","fork":false,"url":"https://api.github.com/repos/jgeboski/bitlbee-facebook","forks_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/forks","keys_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/teams","hooks_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/hooks","issue_events_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/issues/events{/number}","events_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/events","assignees_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/assignees{/user}","branches_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/branches{/branch}","tags_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/tags","blobs_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/statuses/{sha}","languages_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/languages","stargazers_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/stargazers","contributors_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/contributors","subscribers_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/subscribers","subscription_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/subscription","commits_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/contents/{+path}","compare_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/merges","archive_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/downloads","issues_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/issues{/number}","pulls_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls{/number}","milestones_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/milestones{/number}","notifications_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/labels{/name}","releases_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/releases{/id}","deployments_url":"https://api.github.com/repos/jgeboski/bitlbee-facebook/deployments","created_at":"2014-12-21T23:44:56Z","updated_at":"2016-03-05T10:20:13Z","pushed_at":"2016-03-11T20:15:00Z","git_url":"git://github.com/jgeboski/bitlbee-facebook.git","ssh_url":"git@github.com:jgeboski/bitlbee-facebook.git","clone_url":"https://github.com/jgeboski/bitlbee-facebook.git","svn_url":"https://github.com/jgeboski/bitlbee-facebook","homepage":null,"size":241,"stargazers_count":126,"watchers_count":126,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":8,"forks":8,"open_issues":8,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69"},"html":{"href":"https://github.com/jgeboski/bitlbee-facebook/pull/69"},"issue":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/issues/69"},"comments":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/jgeboski/bitlbee-facebook/statuses/4d39cce891787ef17bf879220982a0863e67493c"}}}}