{"action":"created","issue":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5424","repository_url":"https://api.github.com/repos/telegramdesktop/tdesktop","labels_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5424/labels{/name}","comments_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5424/comments","events_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5424/events","html_url":"https://github.com/telegramdesktop/tdesktop/pull/5424","id":384987742,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MDYxNTQw","number":5424,"title":"Ignore only empty drafts while sending with clear_draft","user":{"login":"udf","id":13610073,"node_id":"MDQ6VXNlcjEzNjEwMDcz","avatar_url":"https://avatars2.githubusercontent.com/u/13610073?v=4","gravatar_id":"","url":"https://api.github.com/users/udf","html_url":"https://github.com/udf","followers_url":"https://api.github.com/users/udf/followers","following_url":"https://api.github.com/users/udf/following{/other_user}","gists_url":"https://api.github.com/users/udf/gists{/gist_id}","starred_url":"https://api.github.com/users/udf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udf/subscriptions","organizations_url":"https://api.github.com/users/udf/orgs","repos_url":"https://api.github.com/users/udf/repos","events_url":"https://api.github.com/users/udf/events{/privacy}","received_events_url":"https://api.github.com/users/udf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-27T21:12:12Z","updated_at":"2018-12-04T18:35:49Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/pulls/5424","html_url":"https://github.com/telegramdesktop/tdesktop/pull/5424","diff_url":"https://github.com/telegramdesktop/tdesktop/pull/5424.diff","patch_url":"https://github.com/telegramdesktop/tdesktop/pull/5424.patch"},"body":"Currently tdesktop ignores ALL draft updates for `kSkipCloudDraftsFor` seconds (which is 3 seconds) [372cf275e004c9040d493207eb46ec6e379e9f8f].\r\n\r\nThis commit makes it only ignore EMPTY drafts (with no message and no reply id) during that timeout.\r\n\r\nThis behaviour makes it work as good as before without the drawbacks of ignoring actual drafts made within the timeout period.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/comments/444208514","html_url":"https://github.com/telegramdesktop/tdesktop/pull/5424#issuecomment-444208514","issue_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5424","id":444208514,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDIwODUxNA==","user":{"login":"udf","id":13610073,"node_id":"MDQ6VXNlcjEzNjEwMDcz","avatar_url":"https://avatars2.githubusercontent.com/u/13610073?v=4","gravatar_id":"","url":"https://api.github.com/users/udf","html_url":"https://github.com/udf","followers_url":"https://api.github.com/users/udf/followers","following_url":"https://api.github.com/users/udf/following{/other_user}","gists_url":"https://api.github.com/users/udf/gists{/gist_id}","starred_url":"https://api.github.com/users/udf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udf/subscriptions","organizations_url":"https://api.github.com/users/udf/orgs","repos_url":"https://api.github.com/users/udf/repos","events_url":"https://api.github.com/users/udf/events{/privacy}","received_events_url":"https://api.github.com/users/udf/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T18:35:49Z","updated_at":"2018-12-04T18:35:49Z","author_association":"NONE","body":"I've amended a mistake that I made when I was merging, it should build now."}}
{"actor":{"display_login":"udf"}}