{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/78","repository_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk","labels_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/78/comments","events_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/78/events","html_url":"https://github.com/matrix-org/matrix-python-sdk/pull/78","id":196216474,"number":78,"title":"matrix_client: Allow dynamic removal of listeners","user":{"login":"GalPressman","id":4964075,"avatar_url":"https://avatars.githubusercontent.com/u/4964075?v=3","gravatar_id":"","url":"https://api.github.com/users/GalPressman","html_url":"https://github.com/GalPressman","followers_url":"https://api.github.com/users/GalPressman/followers","following_url":"https://api.github.com/users/GalPressman/following{/other_user}","gists_url":"https://api.github.com/users/GalPressman/gists{/gist_id}","starred_url":"https://api.github.com/users/GalPressman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GalPressman/subscriptions","organizations_url":"https://api.github.com/users/GalPressman/orgs","repos_url":"https://api.github.com/users/GalPressman/repos","events_url":"https://api.github.com/users/GalPressman/events{/privacy}","received_events_url":"https://api.github.com/users/GalPressman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-17T11:04:36Z","updated_at":"2016-12-17T22:01:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/pulls/78","html_url":"https://github.com/matrix-org/matrix-python-sdk/pull/78","diff_url":"https://github.com/matrix-org/matrix-python-sdk/pull/78.diff","patch_url":"https://github.com/matrix-org/matrix-python-sdk/pull/78.patch"},"body":"Adding listeners is an action that cannot be reversed, while many users\r\nneed the ability to dynamically change whether they want to listen or not.\r\nThis patch assigns each listener with a unique id which allows users to\r\nuse it as a later reference for the same listener in case they want to\r\nremove it.\r\nThis infrastructure can also be used in future commits to allow modifying\r\nof listeners on-the-go.\r\n\r\nSigned-off-by: Gal Pressman <galpressman@gmail.com>"},"comment":{"url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/comments/267789937","html_url":"https://github.com/matrix-org/matrix-python-sdk/pull/78#issuecomment-267789937","issue_url":"https://api.github.com/repos/matrix-org/matrix-python-sdk/issues/78","id":267789937,"user":{"login":"Half-Shot","id":2072976,"avatar_url":"https://avatars.githubusercontent.com/u/2072976?v=3","gravatar_id":"","url":"https://api.github.com/users/Half-Shot","html_url":"https://github.com/Half-Shot","followers_url":"https://api.github.com/users/Half-Shot/followers","following_url":"https://api.github.com/users/Half-Shot/following{/other_user}","gists_url":"https://api.github.com/users/Half-Shot/gists{/gist_id}","starred_url":"https://api.github.com/users/Half-Shot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Half-Shot/subscriptions","organizations_url":"https://api.github.com/users/Half-Shot/orgs","repos_url":"https://api.github.com/users/Half-Shot/repos","events_url":"https://api.github.com/users/Half-Shot/events{/privacy}","received_events_url":"https://api.github.com/users/Half-Shot/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T22:01:26Z","updated_at":"2016-12-17T22:01:26Z","body":"Ok to test"}}
{"actor":{"display_login":"Half-Shot"}}