{"action":"closed","number":1868,"pull_request":{"url":"https://api.github.com/repos/zulip/zulip-mobile/pulls/1868","id":167028468,"html_url":"https://github.com/zulip/zulip-mobile/pull/1868","diff_url":"https://github.com/zulip/zulip-mobile/pull/1868.diff","patch_url":"https://github.com/zulip/zulip-mobile/pull/1868.patch","issue_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/1868","number":1868,"state":"closed","locked":false,"title":"Delete drafts on sending message.","user":{"login":"jainkuniya","id":18511177,"avatar_url":"https://avatars3.githubusercontent.com/u/18511177?v=4","gravatar_id":"","url":"https://api.github.com/users/jainkuniya","html_url":"https://github.com/jainkuniya","followers_url":"https://api.github.com/users/jainkuniya/followers","following_url":"https://api.github.com/users/jainkuniya/following{/other_user}","gists_url":"https://api.github.com/users/jainkuniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jainkuniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainkuniya/subscriptions","organizations_url":"https://api.github.com/users/jainkuniya/orgs","repos_url":"https://api.github.com/users/jainkuniya/repos","events_url":"https://api.github.com/users/jainkuniya/events{/privacy}","received_events_url":"https://api.github.com/users/jainkuniya/received_events","type":"User","site_admin":false},"body":"Test the bug: Type a message then change the narrow, then narrow back to previous one, and now send message. Now close app (forcefully). Now on opening again, compose box contains that draft.\r\n\r\nPart of #1835.","created_at":"2018-02-04T20:36:03Z","updated_at":"2018-02-05T23:58:34Z","closed_at":"2018-02-05T23:58:34Z","merged_at":"2018-02-05T23:58:34Z","merge_commit_sha":"c9abf59aac6b26c8bfa44b3d54c05b845e863bec","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip-mobile/pulls/1868/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip-mobile/pulls/1868/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/1868/comments","statuses_url":"https://api.github.com/repos/zulip/zulip-mobile/statuses/648ae25f65b7757faab491655371f2d261b8af86","head":{"label":"jainkuniya:issue-1835-i","ref":"issue-1835-i","sha":"648ae25f65b7757faab491655371f2d261b8af86","user":{"login":"jainkuniya","id":18511177,"avatar_url":"https://avatars3.githubusercontent.com/u/18511177?v=4","gravatar_id":"","url":"https://api.github.com/users/jainkuniya","html_url":"https://github.com/jainkuniya","followers_url":"https://api.github.com/users/jainkuniya/followers","following_url":"https://api.github.com/users/jainkuniya/following{/other_user}","gists_url":"https://api.github.com/users/jainkuniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jainkuniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainkuniya/subscriptions","organizations_url":"https://api.github.com/users/jainkuniya/orgs","repos_url":"https://api.github.com/users/jainkuniya/repos","events_url":"https://api.github.com/users/jainkuniya/events{/privacy}","received_events_url":"https://api.github.com/users/jainkuniya/received_events","type":"User","site_admin":false},"repo":{"id":76110248,"name":"zulip-mobile","full_name":"jainkuniya/zulip-mobile","owner":{"login":"jainkuniya","id":18511177,"avatar_url":"https://avatars3.githubusercontent.com/u/18511177?v=4","gravatar_id":"","url":"https://api.github.com/users/jainkuniya","html_url":"https://github.com/jainkuniya","followers_url":"https://api.github.com/users/jainkuniya/followers","following_url":"https://api.github.com/users/jainkuniya/following{/other_user}","gists_url":"https://api.github.com/users/jainkuniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jainkuniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainkuniya/subscriptions","organizations_url":"https://api.github.com/users/jainkuniya/orgs","repos_url":"https://api.github.com/users/jainkuniya/repos","events_url":"https://api.github.com/users/jainkuniya/events{/privacy}","received_events_url":"https://api.github.com/users/jainkuniya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jainkuniya/zulip-mobile","description":"Experimental Zulip mobile app using React Native","fork":true,"url":"https://api.github.com/repos/jainkuniya/zulip-mobile","forks_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/forks","keys_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/teams","hooks_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/hooks","issue_events_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/events","assignees_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/tags","blobs_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/languages","stargazers_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/stargazers","contributors_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/contributors","subscribers_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/subscribers","subscription_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/subscription","commits_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/merges","archive_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/downloads","issues_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/labels{/name}","releases_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/jainkuniya/zulip-mobile/deployments","created_at":"2016-12-10T12:08:06Z","updated_at":"2016-12-10T12:08:08Z","pushed_at":"2018-02-05T20:46:26Z","git_url":"git://github.com/jainkuniya/zulip-mobile.git","ssh_url":"git@github.com:jainkuniya/zulip-mobile.git","clone_url":"https://github.com/jainkuniya/zulip-mobile.git","svn_url":"https://github.com/jainkuniya/zulip-mobile","homepage":"","size":19454,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zulip:master","ref":"master","sha":"7bb284177086de74247bfde236ec11c5674cbbf4","user":{"login":"zulip","id":4921959,"avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":58298428,"name":"zulip-mobile","full_name":"zulip/zulip-mobile","owner":{"login":"zulip","id":4921959,"avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip-mobile","description":"Zulip mobile app using React Native","fork":false,"url":"https://api.github.com/repos/zulip/zulip-mobile","forks_url":"https://api.github.com/repos/zulip/zulip-mobile/forks","keys_url":"https://api.github.com/repos/zulip/zulip-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip-mobile/teams","hooks_url":"https://api.github.com/repos/zulip/zulip-mobile/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip-mobile/events","assignees_url":"https://api.github.com/repos/zulip/zulip-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip-mobile/tags","blobs_url":"https://api.github.com/repos/zulip/zulip-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip-mobile/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip-mobile/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip-mobile/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip-mobile/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip-mobile/subscription","commits_url":"https://api.github.com/repos/zulip/zulip-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip-mobile/merges","archive_url":"https://api.github.com/repos/zulip/zulip-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip-mobile/downloads","issues_url":"https://api.github.com/repos/zulip/zulip-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip-mobile/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip-mobile/deployments","created_at":"2016-05-08T05:41:48Z","updated_at":"2018-02-02T11:47:55Z","pushed_at":"2018-02-05T23:58:34Z","git_url":"git://github.com/zulip/zulip-mobile.git","ssh_url":"git@github.com:zulip/zulip-mobile.git","clone_url":"https://github.com/zulip/zulip-mobile.git","svn_url":"https://github.com/zulip/zulip-mobile","homepage":"","size":18657,"stargazers_count":251,"watchers_count":251,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"archived":false,"open_issues_count":162,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":109,"open_issues":162,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip-mobile/pulls/1868"},"html":{"href":"https://github.com/zulip/zulip-mobile/pull/1868"},"issue":{"href":"https://api.github.com/repos/zulip/zulip-mobile/issues/1868"},"comments":{"href":"https://api.github.com/repos/zulip/zulip-mobile/issues/1868/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip-mobile/pulls/1868/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip-mobile/pulls/1868/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip-mobile/statuses/648ae25f65b7757faab491655371f2d261b8af86"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars3.githubusercontent.com/u/867242?v=4","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"borisyankov"}}