{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2851","repository_url":"https://api.github.com/repos/zulip/zulip-mobile","labels_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2851/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2851/comments","events_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2851/events","html_url":"https://github.com/zulip/zulip-mobile/pull/2851","id":346186622,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MTExODQz","number":2851,"title":"Add support for realm emoji","user":{"login":"agzuniverse","id":22353313,"node_id":"MDQ6VXNlcjIyMzUzMzEz","avatar_url":"https://avatars1.githubusercontent.com/u/22353313?v=4","gravatar_id":"","url":"https://api.github.com/users/agzuniverse","html_url":"https://github.com/agzuniverse","followers_url":"https://api.github.com/users/agzuniverse/followers","following_url":"https://api.github.com/users/agzuniverse/following{/other_user}","gists_url":"https://api.github.com/users/agzuniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/agzuniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agzuniverse/subscriptions","organizations_url":"https://api.github.com/users/agzuniverse/orgs","repos_url":"https://api.github.com/users/agzuniverse/repos","events_url":"https://api.github.com/users/agzuniverse/events{/privacy}","received_events_url":"https://api.github.com/users/agzuniverse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-31T13:26:01Z","updated_at":"2018-08-02T17:47:54Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/zulip/zulip-mobile/pulls/2851","html_url":"https://github.com/zulip/zulip-mobile/pull/2851","diff_url":"https://github.com/zulip/zulip-mobile/pull/2851.diff","patch_url":"https://github.com/zulip/zulip-mobile/pull/2851.patch"},"body":"Created new selectors `getAllRealmEmojiByName` and `getActiveRealmEmojiByName` that returns the correct object structure expected by the rest of the application for the `realmEmoji` object.\r\n\r\nAlso added realm emoji support to  `EmojiPickerScreen`, `EmojiAutocomplete` and `EmojiRow` which was removed in 0c2d40f797c02a4cbd11515a3a99adc469fe2fc8\r\n\r\nFixes #2129 and partially #2846 (Zulip extra emoji is not yet supported)\r\n\r\nThe build is failing right now because the argument `emojiCode`  for `emojiReactionAdd()` and `emojiReactionRemove()` is expected to be a string, but in the case of realm emoji, the emoji ID is passed as `emojiCode` and this is a number."},"comment":{"url":"https://api.github.com/repos/zulip/zulip-mobile/issues/comments/410011592","html_url":"https://github.com/zulip/zulip-mobile/pull/2851#issuecomment-410011592","issue_url":"https://api.github.com/repos/zulip/zulip-mobile/issues/2851","id":410011592,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDAxMTU5Mg==","user":{"login":"zulipbot","id":25496890,"node_id":"MDQ6VXNlcjI1NDk2ODkw","avatar_url":"https://avatars0.githubusercontent.com/u/25496890?v=4","gravatar_id":"","url":"https://api.github.com/users/zulipbot","html_url":"https://github.com/zulipbot","followers_url":"https://api.github.com/users/zulipbot/followers","following_url":"https://api.github.com/users/zulipbot/following{/other_user}","gists_url":"https://api.github.com/users/zulipbot/gists{/gist_id}","starred_url":"https://api.github.com/users/zulipbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulipbot/subscriptions","organizations_url":"https://api.github.com/users/zulipbot/orgs","repos_url":"https://api.github.com/users/zulipbot/repos","events_url":"https://api.github.com/users/zulipbot/events{/privacy}","received_events_url":"https://api.github.com/users/zulipbot/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T17:47:54Z","updated_at":"2018-08-02T17:47:54Z","author_association":"MEMBER","body":"Hello @agzuniverse, it seems like you have referenced an issue in your pull request, but you have not referenced that issue in your commit message(s). When you reference an issue in a commit message, it automatically closes the corresponding issue when the commit is merged.\n\nPlease run `git commit --amend` in your command line client to amend your commit message description with `\"Fixes #{issue number}”`.\n\nAn example of a correctly-formatted commit:\n```\ncommit fabd5e450374c8dde65ec35f02140383940fe146\nAuthor: zulipbot\nDate:   Sat Mar 18 13:42:40 2017 -0700\n\n    pull requests: Check PR commits reference when issue is referenced.\n\n    Fixes #51\n```\n\nThank you for your contributions to Zulip!"}}
{"actor":{"display_login":"zulipbot"}}