{"action":"created","issue":{"url":"https://api.github.com/repos/Gargron/mastodon/issues/311","repository_url":"https://api.github.com/repos/Gargron/mastodon","labels_url":"https://api.github.com/repos/Gargron/mastodon/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/Gargron/mastodon/issues/311/comments","events_url":"https://api.github.com/repos/Gargron/mastodon/issues/311/events","html_url":"https://github.com/Gargron/mastodon/issues/311","id":192324517,"number":311,"title":"Matrix integration","user":{"login":"LogicalDash","id":1334358,"avatar_url":"https://avatars.githubusercontent.com/u/1334358?v=3","gravatar_id":"","url":"https://api.github.com/users/LogicalDash","html_url":"https://github.com/LogicalDash","followers_url":"https://api.github.com/users/LogicalDash/followers","following_url":"https://api.github.com/users/LogicalDash/following{/other_user}","gists_url":"https://api.github.com/users/LogicalDash/gists{/gist_id}","starred_url":"https://api.github.com/users/LogicalDash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LogicalDash/subscriptions","organizations_url":"https://api.github.com/users/LogicalDash/orgs","repos_url":"https://api.github.com/users/LogicalDash/repos","events_url":"https://api.github.com/users/LogicalDash/events{/privacy}","received_events_url":"https://api.github.com/users/LogicalDash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-29T16:08:31Z","updated_at":"2016-12-06T18:14:37Z","closed_at":"2016-12-05T11:34:15Z","body":"As an alternative to direct messages and whatnot, let server admins hook your Mastodon profile into a [Matrix](http://matrix.org) server running locally, such that the Mastodon user ``@LogicalDash@mastodon.social`` is also the Matrix user ``@LogicalDash:mastodon.social`` -- and/or, let the user link their own Matrix account on a different server with their Mastodon account.\r\n\r\nThen add user interface bits to make it easy to switch between the protocols...\r\n1. Simple link on user profile that starts a chat with this user in another window via http://riot.im\r\n2. Embedded chat in the same window\r\n"},"comment":{"url":"https://api.github.com/repos/Gargron/mastodon/issues/comments/265227253","html_url":"https://github.com/Gargron/mastodon/issues/311#issuecomment-265227253","issue_url":"https://api.github.com/repos/Gargron/mastodon/issues/311","id":265227253,"user":{"login":"ara4n","id":1294269,"avatar_url":"https://avatars.githubusercontent.com/u/1294269?v=3","gravatar_id":"","url":"https://api.github.com/users/ara4n","html_url":"https://github.com/ara4n","followers_url":"https://api.github.com/users/ara4n/followers","following_url":"https://api.github.com/users/ara4n/following{/other_user}","gists_url":"https://api.github.com/users/ara4n/gists{/gist_id}","starred_url":"https://api.github.com/users/ara4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ara4n/subscriptions","organizations_url":"https://api.github.com/users/ara4n/orgs","repos_url":"https://api.github.com/users/ara4n/repos","events_url":"https://api.github.com/users/ara4n/events{/privacy}","received_events_url":"https://api.github.com/users/ara4n/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T18:14:37Z","updated_at":"2016-12-06T18:14:37Z","body":"The simplest way of thinking of it is being like Git, but for realtime data.  The animation at the bottom of https://matrix.org might be more illuminating.  You basically do an HTTP PUT to a Matrix server with a blob of JSON; that server signs it into a Merkle DAG and PUTs it out to the other servers participating in the room.  Other clients on the participating servers receive it (via long-lived HTTP GET or whatever), and the game continues.  It's just an openly federated JSON db.  Data integrity is maintained through the signatures in the Merkle DAG (and signatures on federation traffic) - and end-to-end encryption is provided by Olm (https://matrix.org/git/olm/about) - our own implementation of Signal's double ratchet.  https://matrix.org/blog/2016/11/21/matrixs-olm-end-to-end-encryption-security-assessment-released-and-implemented-cross-platform-on-riot-at-last/ has painful amounts of detail about where we're at with E2E."}}
{"actor":{"display_login":"ara4n"}}