{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/147","labels_url":"https://api.github.com/repos/flarum/core/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/147/comments","events_url":"https://api.github.com/repos/flarum/core/issues/147/events","html_url":"https://github.com/flarum/core/issues/147","id":90525229,"number":147,"title":"Mentions should be stored as IDs","user":{"login":"tobscure","id":128862,"avatar_url":"https://avatars.githubusercontent.com/u/128862?v=3","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T00:24:29Z","updated_at":"2015-06-24T00:36:15Z","closed_at":null,"body":"Storing them as usernames means that they will no longer work if a user changes their username.\r\n\r\nThis would also allow for better extensibility with something like a \"Display Names\" extension, allowing users to change their display name without changing their username."},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/114682938","html_url":"https://github.com/flarum/core/issues/147#issuecomment-114682938","issue_url":"https://api.github.com/repos/flarum/core/issues/147","id":114682938,"user":{"login":"amdad","id":10062429,"avatar_url":"https://avatars.githubusercontent.com/u/10062429?v=3","gravatar_id":"","url":"https://api.github.com/users/amdad","html_url":"https://github.com/amdad","followers_url":"https://api.github.com/users/amdad/followers","following_url":"https://api.github.com/users/amdad/following{/other_user}","gists_url":"https://api.github.com/users/amdad/gists{/gist_id}","starred_url":"https://api.github.com/users/amdad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amdad/subscriptions","organizations_url":"https://api.github.com/users/amdad/orgs","repos_url":"https://api.github.com/users/amdad/repos","events_url":"https://api.github.com/users/amdad/events{/privacy}","received_events_url":"https://api.github.com/users/amdad/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T00:36:15Z","updated_at":"2015-06-24T00:36:15Z","body":"In DB id's, but in editor (when add/edit) we should see usernames. It's better to recognize to who we address message, than just ID number. So It should convert it (username<>id) on fly when SAVE or GET content between DB & editor."}}