{"action":"opened","issue":{"url":"https://api.github.com/repos/lesswrong-ru/slack-search/issues/2","repository_url":"https://api.github.com/repos/lesswrong-ru/slack-search","labels_url":"https://api.github.com/repos/lesswrong-ru/slack-search/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lesswrong-ru/slack-search/issues/2/comments","events_url":"https://api.github.com/repos/lesswrong-ru/slack-search/issues/2/events","html_url":"https://github.com/lesswrong-ru/slack-search/issues/2","id":191612074,"number":2,"title":"Подклеивать юзернеймы","user":{"login":"berekuk","id":89368,"avatar_url":"https://avatars.githubusercontent.com/u/89368?v=3","gravatar_id":"","url":"https://api.github.com/users/berekuk","html_url":"https://github.com/berekuk","followers_url":"https://api.github.com/users/berekuk/followers","following_url":"https://api.github.com/users/berekuk/following{/other_user}","gists_url":"https://api.github.com/users/berekuk/gists{/gist_id}","starred_url":"https://api.github.com/users/berekuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berekuk/subscriptions","organizations_url":"https://api.github.com/users/berekuk/orgs","repos_url":"https://api.github.com/users/berekuk/repos","events_url":"https://api.github.com/users/berekuk/events{/privacy}","received_events_url":"https://api.github.com/users/berekuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-25T02:01:00Z","updated_at":"2016-11-25T02:01:00Z","closed_at":null,"body":"Слак идентифицирует пользователей не по никам, а по внутренним id.\r\nПроиндексировать словарь id -> nickname было бы несложно, но elastic всё равно не умеет делать join'ы.\r\n\r\nТак что:\r\n* либо на клиенте скачивать ники каждый раз (умеет ли searchkit такое? не уверен)\r\n* либо на клиенте вообще кешировать словарь со всеми никами и id (тяжеловато и страница первый раз будет грузиться чуть медленее)\r\n* либо сразу при индексации индексировать ник (но тогда инкрементальная индексация будет помнить старые ники для старых сообщений)"}}
{"actor":{"display_login":"berekuk"}}