{"action":"created","issue":{"url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/46","repository_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk","labels_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/46/comments","events_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/46/events","html_url":"https://github.com/kamax-io/matrix-java-sdk/issues/46","id":323599417,"node_id":"MDU6SXNzdWUzMjM1OTk0MTc=","number":46,"title":"New object for unread notifications (from sync data)","user":{"login":"MrCustomizer","id":3456161,"node_id":"MDQ6VXNlcjM0NTYxNjE=","avatar_url":"https://avatars1.githubusercontent.com/u/3456161?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCustomizer","html_url":"https://github.com/MrCustomizer","followers_url":"https://api.github.com/users/MrCustomizer/followers","following_url":"https://api.github.com/users/MrCustomizer/following{/other_user}","gists_url":"https://api.github.com/users/MrCustomizer/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCustomizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCustomizer/subscriptions","organizations_url":"https://api.github.com/users/MrCustomizer/orgs","repos_url":"https://api.github.com/users/MrCustomizer/repos","events_url":"https://api.github.com/users/MrCustomizer/events{/privacy}","received_events_url":"https://api.github.com/users/MrCustomizer/received_events","type":"User","site_admin":false},"labels":[{"id":592759965,"node_id":"MDU6TGFiZWw1OTI3NTk5NjU=","url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"maxidor","id":10545559,"node_id":"MDQ6VXNlcjEwNTQ1NTU5","avatar_url":"https://avatars2.githubusercontent.com/u/10545559?v=4","gravatar_id":"","url":"https://api.github.com/users/maxidor","html_url":"https://github.com/maxidor","followers_url":"https://api.github.com/users/maxidor/followers","following_url":"https://api.github.com/users/maxidor/following{/other_user}","gists_url":"https://api.github.com/users/maxidor/gists{/gist_id}","starred_url":"https://api.github.com/users/maxidor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxidor/subscriptions","organizations_url":"https://api.github.com/users/maxidor/orgs","repos_url":"https://api.github.com/users/maxidor/repos","events_url":"https://api.github.com/users/maxidor/events{/privacy}","received_events_url":"https://api.github.com/users/maxidor/received_events","type":"User","site_admin":false},"assignees":[{"login":"maxidor","id":10545559,"node_id":"MDQ6VXNlcjEwNTQ1NTU5","avatar_url":"https://avatars2.githubusercontent.com/u/10545559?v=4","gravatar_id":"","url":"https://api.github.com/users/maxidor","html_url":"https://github.com/maxidor","followers_url":"https://api.github.com/users/maxidor/followers","following_url":"https://api.github.com/users/maxidor/following{/other_user}","gists_url":"https://api.github.com/users/maxidor/gists{/gist_id}","starred_url":"https://api.github.com/users/maxidor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxidor/subscriptions","organizations_url":"https://api.github.com/users/maxidor/orgs","repos_url":"https://api.github.com/users/maxidor/repos","events_url":"https://api.github.com/users/maxidor/events{/privacy}","received_events_url":"https://api.github.com/users/maxidor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-16T12:30:38Z","updated_at":"2018-06-04T14:44:13Z","closed_at":null,"author_association":"COLLABORATOR","body":"The object `JoinedRoom` in `SyncData` needs a new object to read the unread notifications and highlights. Relevant part of the spec: https://matrix.org/docs/spec/client_server/r0.3.0.html#get-matrix-client-r0-sync"},"comment":{"url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/comments/394380106","html_url":"https://github.com/kamax-io/matrix-java-sdk/issues/46#issuecomment-394380106","issue_url":"https://api.github.com/repos/kamax-io/matrix-java-sdk/issues/46","id":394380106,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM4MDEwNg==","user":{"login":"MrCustomizer","id":3456161,"node_id":"MDQ6VXNlcjM0NTYxNjE=","avatar_url":"https://avatars1.githubusercontent.com/u/3456161?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCustomizer","html_url":"https://github.com/MrCustomizer","followers_url":"https://api.github.com/users/MrCustomizer/followers","following_url":"https://api.github.com/users/MrCustomizer/following{/other_user}","gists_url":"https://api.github.com/users/MrCustomizer/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCustomizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCustomizer/subscriptions","organizations_url":"https://api.github.com/users/MrCustomizer/orgs","repos_url":"https://api.github.com/users/MrCustomizer/repos","events_url":"https://api.github.com/users/MrCustomizer/events{/privacy}","received_events_url":"https://api.github.com/users/MrCustomizer/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T14:44:13Z","updated_at":"2018-06-04T14:44:13Z","author_association":"COLLABORATOR","body":"That works very nicely, thanks! One question, though: Why are the counters of type Long? It's described as Integer in the spec."}}
{"actor":{"display_login":"MrCustomizer"}}