{"action":"created","comment":{"url":"https://api.github.com/repos/bitlbee/bitlbee/pulls/comments/23512811","id":23512811,"diff_hunk":"@@ -640,19 +685,7 @@ static char *twitter_msg_add_id(struct im_connection *ic,\n \tif (g_strcasecmp(txs->user->screen_name, td->user) == 0)\n \t\ttd->log[td->log_id].id = txs->rt_id;\n \t\n-\tif (set_getbool(&ic->acc->set, \"show_ids\")) {\n-\t\tif (reply_to != -1)\n-\t\t\treturn g_strdup_printf(\"\\002[\\002%02x->%02x\\002]\\002 %s%s\",\n-\t\t\t                       td->log_id, reply_to, prefix, txs->text);\n-\t\telse\n-\t\t\treturn g_strdup_printf(\"\\002[\\002%02x\\002]\\002 %s%s\",\n-\t\t\t                       td->log_id, prefix, txs->text);\n-\t} else {\n-\t\tif (*prefix)\n-\t\t\treturn g_strconcat(prefix, txs->text, NULL);\n-\t\telse\n-\t\t\treturn NULL;\n-\t}\n+  return twitter_msg_get_text(ic, td->log_id, reply_to, txs, prefix);","path":"protocols/twitter/twitter_lib.c","position":95,"original_position":95,"commit_id":"d207cac364a751c82a6f3aa864423e58613a1848","original_commit_id":"d207cac364a751c82a6f3aa864423e58613a1848","user":{"login":"dequis","id":94108,"avatar_url":"https://avatars.githubusercontent.com/u/94108?v=3","gravatar_id":"","url":"https://api.github.com/users/dequis","html_url":"https://github.com/dequis","followers_url":"https://api.github.com/users/dequis/followers","following_url":"https://api.github.com/users/dequis/following{/other_user}","gists_url":"https://api.github.com/users/dequis/gists{/gist_id}","starred_url":"https://api.github.com/users/dequis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequis/subscriptions","organizations_url":"https://api.github.com/users/dequis/orgs","repos_url":"https://api.github.com/users/dequis/repos","events_url":"https://api.github.com/users/dequis/events{/privacy}","received_events_url":"https://api.github.com/users/dequis/received_events","type":"User","site_admin":false},"body":"also, nit, whitespace here (two spaces instead of one tab)","created_at":"2015-01-26T04:59:12Z","updated_at":"2015-01-26T04:59:12Z","html_url":"https://github.com/bitlbee/bitlbee/pull/10#discussion_r23512811","pull_request_url":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/bitlbee/bitlbee/pulls/comments/23512811"},"html":{"href":"https://github.com/bitlbee/bitlbee/pull/10#discussion_r23512811"},"pull_request":{"href":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10","id":28001667,"html_url":"https://github.com/bitlbee/bitlbee/pull/10","diff_url":"https://github.com/bitlbee/bitlbee/pull/10.diff","patch_url":"https://github.com/bitlbee/bitlbee/pull/10.patch","issue_url":"https://api.github.com/repos/bitlbee/bitlbee/issues/10","number":10,"state":"open","locked":false,"title":"Twitter format strings","user":{"login":"WPettersson","id":790321,"avatar_url":"https://avatars.githubusercontent.com/u/790321?v=3","gravatar_id":"","url":"https://api.github.com/users/WPettersson","html_url":"https://github.com/WPettersson","followers_url":"https://api.github.com/users/WPettersson/followers","following_url":"https://api.github.com/users/WPettersson/following{/other_user}","gists_url":"https://api.github.com/users/WPettersson/gists{/gist_id}","starred_url":"https://api.github.com/users/WPettersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPettersson/subscriptions","organizations_url":"https://api.github.com/users/WPettersson/orgs","repos_url":"https://api.github.com/users/WPettersson/repos","events_url":"https://api.github.com/users/WPettersson/events{/privacy}","received_events_url":"https://api.github.com/users/WPettersson/received_events","type":"User","site_admin":false},"body":"Allow users to specify how tweets should be displayed\r\n\r\n3 new settings are available to set how tweets are displayed:\r\n - twitter_format_string for normal tweets\r\n - retweet_format_string for retweets\r\n - reply_format_string for replies\r\n\r\nFor full documentation see the help files","created_at":"2015-01-26T01:16:54Z","updated_at":"2015-01-26T04:59:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d2bcba47ecd4e7edf829d07d1bdf8efc213181a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10/commits","review_comments_url":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10/comments","review_comment_url":"https://api.github.com/repos/bitlbee/bitlbee/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bitlbee/bitlbee/issues/10/comments","statuses_url":"https://api.github.com/repos/bitlbee/bitlbee/statuses/d207cac364a751c82a6f3aa864423e58613a1848","head":{"label":"WPettersson:twitter_format_strings","ref":"twitter_format_strings","sha":"d207cac364a751c82a6f3aa864423e58613a1848","user":{"login":"WPettersson","id":790321,"avatar_url":"https://avatars.githubusercontent.com/u/790321?v=3","gravatar_id":"","url":"https://api.github.com/users/WPettersson","html_url":"https://github.com/WPettersson","followers_url":"https://api.github.com/users/WPettersson/followers","following_url":"https://api.github.com/users/WPettersson/following{/other_user}","gists_url":"https://api.github.com/users/WPettersson/gists{/gist_id}","starred_url":"https://api.github.com/users/WPettersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPettersson/subscriptions","organizations_url":"https://api.github.com/users/WPettersson/orgs","repos_url":"https://api.github.com/users/WPettersson/repos","events_url":"https://api.github.com/users/WPettersson/events{/privacy}","received_events_url":"https://api.github.com/users/WPettersson/received_events","type":"User","site_admin":false},"repo":{"id":29838981,"name":"bitlbee","full_name":"WPettersson/bitlbee","owner":{"login":"WPettersson","id":790321,"avatar_url":"https://avatars.githubusercontent.com/u/790321?v=3","gravatar_id":"","url":"https://api.github.com/users/WPettersson","html_url":"https://github.com/WPettersson","followers_url":"https://api.github.com/users/WPettersson/followers","following_url":"https://api.github.com/users/WPettersson/following{/other_user}","gists_url":"https://api.github.com/users/WPettersson/gists{/gist_id}","starred_url":"https://api.github.com/users/WPettersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPettersson/subscriptions","organizations_url":"https://api.github.com/users/WPettersson/orgs","repos_url":"https://api.github.com/users/WPettersson/repos","events_url":"https://api.github.com/users/WPettersson/events{/privacy}","received_events_url":"https://api.github.com/users/WPettersson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WPettersson/bitlbee","description":"Main development branch","fork":true,"url":"https://api.github.com/repos/WPettersson/bitlbee","forks_url":"https://api.github.com/repos/WPettersson/bitlbee/forks","keys_url":"https://api.github.com/repos/WPettersson/bitlbee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WPettersson/bitlbee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WPettersson/bitlbee/teams","hooks_url":"https://api.github.com/repos/WPettersson/bitlbee/hooks","issue_events_url":"https://api.github.com/repos/WPettersson/bitlbee/issues/events{/number}","events_url":"https://api.github.com/repos/WPettersson/bitlbee/events","assignees_url":"https://api.github.com/repos/WPettersson/bitlbee/assignees{/user}","branches_url":"https://api.github.com/repos/WPettersson/bitlbee/branches{/branch}","tags_url":"https://api.github.com/repos/WPettersson/bitlbee/tags","blobs_url":"https://api.github.com/repos/WPettersson/bitlbee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WPettersson/bitlbee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WPettersson/bitlbee/git/refs{/sha}","trees_url":"https://api.github.com/repos/WPettersson/bitlbee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WPettersson/bitlbee/statuses/{sha}","languages_url":"https://api.github.com/repos/WPettersson/bitlbee/languages","stargazers_url":"https://api.github.com/repos/WPettersson/bitlbee/stargazers","contributors_url":"https://api.github.com/repos/WPettersson/bitlbee/contributors","subscribers_url":"https://api.github.com/repos/WPettersson/bitlbee/subscribers","subscription_url":"https://api.github.com/repos/WPettersson/bitlbee/subscription","commits_url":"https://api.github.com/repos/WPettersson/bitlbee/commits{/sha}","git_commits_url":"https://api.github.com/repos/WPettersson/bitlbee/git/commits{/sha}","comments_url":"https://api.github.com/repos/WPettersson/bitlbee/comments{/number}","issue_comment_url":"https://api.github.com/repos/WPettersson/bitlbee/issues/comments/{number}","contents_url":"https://api.github.com/repos/WPettersson/bitlbee/contents/{+path}","compare_url":"https://api.github.com/repos/WPettersson/bitlbee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WPettersson/bitlbee/merges","archive_url":"https://api.github.com/repos/WPettersson/bitlbee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WPettersson/bitlbee/downloads","issues_url":"https://api.github.com/repos/WPettersson/bitlbee/issues{/number}","pulls_url":"https://api.github.com/repos/WPettersson/bitlbee/pulls{/number}","milestones_url":"https://api.github.com/repos/WPettersson/bitlbee/milestones{/number}","notifications_url":"https://api.github.com/repos/WPettersson/bitlbee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WPettersson/bitlbee/labels{/name}","releases_url":"https://api.github.com/repos/WPettersson/bitlbee/releases{/id}","created_at":"2015-01-26T01:02:33Z","updated_at":"2015-01-26T01:04:00Z","pushed_at":"2015-01-26T01:32:13Z","git_url":"git://github.com/WPettersson/bitlbee.git","ssh_url":"git@github.com:WPettersson/bitlbee.git","clone_url":"https://github.com/WPettersson/bitlbee.git","svn_url":"https://github.com/WPettersson/bitlbee","homepage":"http://bitlbee.org/","size":0,"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":"bitlbee:master","ref":"master","sha":"95e17fc1eacde2a4b4f2948e99701bc2bf6d75ec","user":{"login":"bitlbee","id":6410240,"avatar_url":"https://avatars.githubusercontent.com/u/6410240?v=3","gravatar_id":"","url":"https://api.github.com/users/bitlbee","html_url":"https://github.com/bitlbee","followers_url":"https://api.github.com/users/bitlbee/followers","following_url":"https://api.github.com/users/bitlbee/following{/other_user}","gists_url":"https://api.github.com/users/bitlbee/gists{/gist_id}","starred_url":"https://api.github.com/users/bitlbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitlbee/subscriptions","organizations_url":"https://api.github.com/users/bitlbee/orgs","repos_url":"https://api.github.com/users/bitlbee/repos","events_url":"https://api.github.com/users/bitlbee/events{/privacy}","received_events_url":"https://api.github.com/users/bitlbee/received_events","type":"Organization","site_admin":false},"repo":{"id":29792084,"name":"bitlbee","full_name":"bitlbee/bitlbee","owner":{"login":"bitlbee","id":6410240,"avatar_url":"https://avatars.githubusercontent.com/u/6410240?v=3","gravatar_id":"","url":"https://api.github.com/users/bitlbee","html_url":"https://github.com/bitlbee","followers_url":"https://api.github.com/users/bitlbee/followers","following_url":"https://api.github.com/users/bitlbee/following{/other_user}","gists_url":"https://api.github.com/users/bitlbee/gists{/gist_id}","starred_url":"https://api.github.com/users/bitlbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitlbee/subscriptions","organizations_url":"https://api.github.com/users/bitlbee/orgs","repos_url":"https://api.github.com/users/bitlbee/repos","events_url":"https://api.github.com/users/bitlbee/events{/privacy}","received_events_url":"https://api.github.com/users/bitlbee/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitlbee/bitlbee","description":"Main development branch","fork":false,"url":"https://api.github.com/repos/bitlbee/bitlbee","forks_url":"https://api.github.com/repos/bitlbee/bitlbee/forks","keys_url":"https://api.github.com/repos/bitlbee/bitlbee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitlbee/bitlbee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitlbee/bitlbee/teams","hooks_url":"https://api.github.com/repos/bitlbee/bitlbee/hooks","issue_events_url":"https://api.github.com/repos/bitlbee/bitlbee/issues/events{/number}","events_url":"https://api.github.com/repos/bitlbee/bitlbee/events","assignees_url":"https://api.github.com/repos/bitlbee/bitlbee/assignees{/user}","branches_url":"https://api.github.com/repos/bitlbee/bitlbee/branches{/branch}","tags_url":"https://api.github.com/repos/bitlbee/bitlbee/tags","blobs_url":"https://api.github.com/repos/bitlbee/bitlbee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitlbee/bitlbee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitlbee/bitlbee/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitlbee/bitlbee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitlbee/bitlbee/statuses/{sha}","languages_url":"https://api.github.com/repos/bitlbee/bitlbee/languages","stargazers_url":"https://api.github.com/repos/bitlbee/bitlbee/stargazers","contributors_url":"https://api.github.com/repos/bitlbee/bitlbee/contributors","subscribers_url":"https://api.github.com/repos/bitlbee/bitlbee/subscribers","subscription_url":"https://api.github.com/repos/bitlbee/bitlbee/subscription","commits_url":"https://api.github.com/repos/bitlbee/bitlbee/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitlbee/bitlbee/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitlbee/bitlbee/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitlbee/bitlbee/issues/comments/{number}","contents_url":"https://api.github.com/repos/bitlbee/bitlbee/contents/{+path}","compare_url":"https://api.github.com/repos/bitlbee/bitlbee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitlbee/bitlbee/merges","archive_url":"https://api.github.com/repos/bitlbee/bitlbee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitlbee/bitlbee/downloads","issues_url":"https://api.github.com/repos/bitlbee/bitlbee/issues{/number}","pulls_url":"https://api.github.com/repos/bitlbee/bitlbee/pulls{/number}","milestones_url":"https://api.github.com/repos/bitlbee/bitlbee/milestones{/number}","notifications_url":"https://api.github.com/repos/bitlbee/bitlbee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitlbee/bitlbee/labels{/name}","releases_url":"https://api.github.com/repos/bitlbee/bitlbee/releases{/id}","created_at":"2015-01-24T21:21:23Z","updated_at":"2015-01-26T03:13:48Z","pushed_at":"2015-01-26T03:54:08Z","git_url":"git://github.com/bitlbee/bitlbee.git","ssh_url":"git@github.com:bitlbee/bitlbee.git","clone_url":"https://github.com/bitlbee/bitlbee.git","svn_url":"https://github.com/bitlbee/bitlbee","homepage":"http://bitlbee.org/","size":0,"stargazers_count":9,"watchers_count":9,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10"},"html":{"href":"https://github.com/bitlbee/bitlbee/pull/10"},"issue":{"href":"https://api.github.com/repos/bitlbee/bitlbee/issues/10"},"comments":{"href":"https://api.github.com/repos/bitlbee/bitlbee/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/bitlbee/bitlbee/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bitlbee/bitlbee/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/bitlbee/bitlbee/statuses/d207cac364a751c82a6f3aa864423e58613a1848"}}}}