{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk/issues/80","repository_url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk","labels_url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk/issues/80/comments","events_url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk/issues/80/events","html_url":"https://github.com/matrix-org/matrix-ios-sdk/pull/80","id":136715174,"number":80,"title":"Remove MXEventDirectionSync","user":{"login":"manuroe","id":8418515,"avatar_url":"https://avatars.githubusercontent.com/u/8418515?v=3","gravatar_id":"","url":"https://api.github.com/users/manuroe","html_url":"https://github.com/manuroe","followers_url":"https://api.github.com/users/manuroe/followers","following_url":"https://api.github.com/users/manuroe/following{/other_user}","gists_url":"https://api.github.com/users/manuroe/gists{/gist_id}","starred_url":"https://api.github.com/users/manuroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuroe/subscriptions","organizations_url":"https://api.github.com/users/manuroe/orgs","repos_url":"https://api.github.com/users/manuroe/repos","events_url":"https://api.github.com/users/manuroe/events{/privacy}","received_events_url":"https://api.github.com/users/manuroe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"giomfo","id":8969772,"avatar_url":"https://avatars.githubusercontent.com/u/8969772?v=3","gravatar_id":"","url":"https://api.github.com/users/giomfo","html_url":"https://github.com/giomfo","followers_url":"https://api.github.com/users/giomfo/followers","following_url":"https://api.github.com/users/giomfo/following{/other_user}","gists_url":"https://api.github.com/users/giomfo/gists{/gist_id}","starred_url":"https://api.github.com/users/giomfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giomfo/subscriptions","organizations_url":"https://api.github.com/users/giomfo/orgs","repos_url":"https://api.github.com/users/giomfo/repos","events_url":"https://api.github.com/users/giomfo/events{/privacy}","received_events_url":"https://api.github.com/users/giomfo/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-26T14:38:11Z","updated_at":"2016-02-26T16:06:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk/pulls/80","html_url":"https://github.com/matrix-org/matrix-ios-sdk/pull/80","diff_url":"https://github.com/matrix-org/matrix-ios-sdk/pull/80.diff","patch_url":"https://github.com/matrix-org/matrix-ios-sdk/pull/80.patch"},"body":"Fixed https://matrix.org/jira/browse/SYIOS-207.\r\n\r\nMXEventDirectionSync was used to identify events coming from an initialSync. They were managed differently than MXEventDirectionForwards events which came from /events.\r\nIn sync v2, everything comes from a single API, /sync, MXEventDirectionForwards. It is no more possible to make such distinction.\r\n\r\nMXEventDirectionSync has been removed. MXEventDirection* has been renamed to MXTimelineDirection*.\r\nMXEventTimeline.m has been refactored to match sync v2 mechanism better (no more handleLiveEvent for example as live event has no more sense with /sync v2).\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk/issues/comments/189343797","html_url":"https://github.com/matrix-org/matrix-ios-sdk/pull/80#issuecomment-189343797","issue_url":"https://api.github.com/repos/matrix-org/matrix-ios-sdk/issues/80","id":189343797,"user":{"login":"giomfo","id":8969772,"avatar_url":"https://avatars.githubusercontent.com/u/8969772?v=3","gravatar_id":"","url":"https://api.github.com/users/giomfo","html_url":"https://github.com/giomfo","followers_url":"https://api.github.com/users/giomfo/followers","following_url":"https://api.github.com/users/giomfo/following{/other_user}","gists_url":"https://api.github.com/users/giomfo/gists{/gist_id}","starred_url":"https://api.github.com/users/giomfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giomfo/subscriptions","organizations_url":"https://api.github.com/users/giomfo/orgs","repos_url":"https://api.github.com/users/giomfo/repos","events_url":"https://api.github.com/users/giomfo/events{/privacy}","received_events_url":"https://api.github.com/users/giomfo/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T16:06:09Z","updated_at":"2016-02-26T16:06:09Z","body":"LGTM"}}