{"action":"closed","number":914,"pull_request":{"url":"https://api.github.com/repos/processone/ejabberd/pulls/914","id":56540075,"html_url":"https://github.com/processone/ejabberd/pull/914","diff_url":"https://github.com/processone/ejabberd/pull/914.diff","patch_url":"https://github.com/processone/ejabberd/pull/914.patch","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/914","number":914,"state":"closed","locked":false,"title":"Expose occupant JID in MUC MAM messages whenever possible","user":{"login":"weiss","id":71850,"avatar_url":"https://avatars.githubusercontent.com/u/71850?v=3","gravatar_id":"","url":"https://api.github.com/users/weiss","html_url":"https://github.com/weiss","followers_url":"https://api.github.com/users/weiss/followers","following_url":"https://api.github.com/users/weiss/following{/other_user}","gists_url":"https://api.github.com/users/weiss/gists{/gist_id}","starred_url":"https://api.github.com/users/weiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiss/subscriptions","organizations_url":"https://api.github.com/users/weiss/orgs","repos_url":"https://api.github.com/users/weiss/repos","events_url":"https://api.github.com/users/weiss/events{/privacy}","received_events_url":"https://api.github.com/users/weiss/received_events","type":"User","site_admin":false},"body":"We currently include the real occupant JID with MUC MAM messages only if the MAM user is a moderator of that room.  This change lets `mod_mam` also add the occupant JID in the following two cases:\r\n\r\n- When the MAM user sent the MUC message himself.\r\n- When the room is not anonymous.","created_at":"2016-01-19T23:06:43Z","updated_at":"2016-02-08T11:23:19Z","closed_at":"2016-02-08T11:23:19Z","merged_at":"2016-02-08T11:23:19Z","merge_commit_sha":"81ab04b6ea37f9fbf21f488661372cdc3bb6601f","assignee":{"login":"zinid","id":1095902,"avatar_url":"https://avatars.githubusercontent.com/u/1095902?v=3","gravatar_id":"","url":"https://api.github.com/users/zinid","html_url":"https://github.com/zinid","followers_url":"https://api.github.com/users/zinid/followers","following_url":"https://api.github.com/users/zinid/following{/other_user}","gists_url":"https://api.github.com/users/zinid/gists{/gist_id}","starred_url":"https://api.github.com/users/zinid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinid/subscriptions","organizations_url":"https://api.github.com/users/zinid/orgs","repos_url":"https://api.github.com/users/zinid/repos","events_url":"https://api.github.com/users/zinid/events{/privacy}","received_events_url":"https://api.github.com/users/zinid/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/processone/ejabberd/milestones/13","html_url":"https://github.com/processone/ejabberd/milestones/ejabberd%2016.02","labels_url":"https://api.github.com/repos/processone/ejabberd/milestones/13/labels","id":1526709,"number":13,"title":"ejabberd 16.02","description":"Created from Aha! https://processone.aha.io:443/releases/ECS-R-8","creator":{"login":"mremond","id":86736,"avatar_url":"https://avatars.githubusercontent.com/u/86736?v=3","gravatar_id":"","url":"https://api.github.com/users/mremond","html_url":"https://github.com/mremond","followers_url":"https://api.github.com/users/mremond/followers","following_url":"https://api.github.com/users/mremond/following{/other_user}","gists_url":"https://api.github.com/users/mremond/gists{/gist_id}","starred_url":"https://api.github.com/users/mremond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mremond/subscriptions","organizations_url":"https://api.github.com/users/mremond/orgs","repos_url":"https://api.github.com/users/mremond/repos","events_url":"https://api.github.com/users/mremond/events{/privacy}","received_events_url":"https://api.github.com/users/mremond/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":8,"state":"open","created_at":"2016-01-20T18:14:34Z","updated_at":"2016-02-08T11:23:19Z","due_on":"2016-02-14T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/processone/ejabberd/pulls/914/commits","review_comments_url":"https://api.github.com/repos/processone/ejabberd/pulls/914/comments","review_comment_url":"https://api.github.com/repos/processone/ejabberd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/914/comments","statuses_url":"https://api.github.com/repos/processone/ejabberd/statuses/b62607037a5628818e3d965914e0e91b119281a6","head":{"label":"weiss:mam-expose-jid","ref":"mam-expose-jid","sha":"b62607037a5628818e3d965914e0e91b119281a6","user":{"login":"weiss","id":71850,"avatar_url":"https://avatars.githubusercontent.com/u/71850?v=3","gravatar_id":"","url":"https://api.github.com/users/weiss","html_url":"https://github.com/weiss","followers_url":"https://api.github.com/users/weiss/followers","following_url":"https://api.github.com/users/weiss/following{/other_user}","gists_url":"https://api.github.com/users/weiss/gists{/gist_id}","starred_url":"https://api.github.com/users/weiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiss/subscriptions","organizations_url":"https://api.github.com/users/weiss/orgs","repos_url":"https://api.github.com/users/weiss/repos","events_url":"https://api.github.com/users/weiss/events{/privacy}","received_events_url":"https://api.github.com/users/weiss/received_events","type":"User","site_admin":false},"repo":{"id":17070649,"name":"ejabberd","full_name":"weiss/ejabberd","owner":{"login":"weiss","id":71850,"avatar_url":"https://avatars.githubusercontent.com/u/71850?v=3","gravatar_id":"","url":"https://api.github.com/users/weiss","html_url":"https://github.com/weiss","followers_url":"https://api.github.com/users/weiss/followers","following_url":"https://api.github.com/users/weiss/following{/other_user}","gists_url":"https://api.github.com/users/weiss/gists{/gist_id}","starred_url":"https://api.github.com/users/weiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiss/subscriptions","organizations_url":"https://api.github.com/users/weiss/orgs","repos_url":"https://api.github.com/users/weiss/repos","events_url":"https://api.github.com/users/weiss/events{/privacy}","received_events_url":"https://api.github.com/users/weiss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weiss/ejabberd","description":"Robust and scalable Jabber / XMPP Instant Messaging platform","fork":true,"url":"https://api.github.com/repos/weiss/ejabberd","forks_url":"https://api.github.com/repos/weiss/ejabberd/forks","keys_url":"https://api.github.com/repos/weiss/ejabberd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weiss/ejabberd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weiss/ejabberd/teams","hooks_url":"https://api.github.com/repos/weiss/ejabberd/hooks","issue_events_url":"https://api.github.com/repos/weiss/ejabberd/issues/events{/number}","events_url":"https://api.github.com/repos/weiss/ejabberd/events","assignees_url":"https://api.github.com/repos/weiss/ejabberd/assignees{/user}","branches_url":"https://api.github.com/repos/weiss/ejabberd/branches{/branch}","tags_url":"https://api.github.com/repos/weiss/ejabberd/tags","blobs_url":"https://api.github.com/repos/weiss/ejabberd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weiss/ejabberd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weiss/ejabberd/git/refs{/sha}","trees_url":"https://api.github.com/repos/weiss/ejabberd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weiss/ejabberd/statuses/{sha}","languages_url":"https://api.github.com/repos/weiss/ejabberd/languages","stargazers_url":"https://api.github.com/repos/weiss/ejabberd/stargazers","contributors_url":"https://api.github.com/repos/weiss/ejabberd/contributors","subscribers_url":"https://api.github.com/repos/weiss/ejabberd/subscribers","subscription_url":"https://api.github.com/repos/weiss/ejabberd/subscription","commits_url":"https://api.github.com/repos/weiss/ejabberd/commits{/sha}","git_commits_url":"https://api.github.com/repos/weiss/ejabberd/git/commits{/sha}","comments_url":"https://api.github.com/repos/weiss/ejabberd/comments{/number}","issue_comment_url":"https://api.github.com/repos/weiss/ejabberd/issues/comments{/number}","contents_url":"https://api.github.com/repos/weiss/ejabberd/contents/{+path}","compare_url":"https://api.github.com/repos/weiss/ejabberd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weiss/ejabberd/merges","archive_url":"https://api.github.com/repos/weiss/ejabberd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weiss/ejabberd/downloads","issues_url":"https://api.github.com/repos/weiss/ejabberd/issues{/number}","pulls_url":"https://api.github.com/repos/weiss/ejabberd/pulls{/number}","milestones_url":"https://api.github.com/repos/weiss/ejabberd/milestones{/number}","notifications_url":"https://api.github.com/repos/weiss/ejabberd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weiss/ejabberd/labels{/name}","releases_url":"https://api.github.com/repos/weiss/ejabberd/releases{/id}","deployments_url":"https://api.github.com/repos/weiss/ejabberd/deployments","created_at":"2014-02-21T21:46:41Z","updated_at":"2015-07-12T19:11:16Z","pushed_at":"2016-02-08T10:50:17Z","git_url":"git://github.com/weiss/ejabberd.git","ssh_url":"git@github.com:weiss/ejabberd.git","clone_url":"https://github.com/weiss/ejabberd.git","svn_url":"https://github.com/weiss/ejabberd","homepage":"http://www.process-one.net/en/ejabberd/","size":20065,"stargazers_count":3,"watchers_count":3,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"processone:master","ref":"master","sha":"278d8a6fcd2aaf38f3a85e519816bae34e61bed7","user":{"login":"processone","id":86724,"avatar_url":"https://avatars.githubusercontent.com/u/86724?v=3","gravatar_id":"","url":"https://api.github.com/users/processone","html_url":"https://github.com/processone","followers_url":"https://api.github.com/users/processone/followers","following_url":"https://api.github.com/users/processone/following{/other_user}","gists_url":"https://api.github.com/users/processone/gists{/gist_id}","starred_url":"https://api.github.com/users/processone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/processone/subscriptions","organizations_url":"https://api.github.com/users/processone/orgs","repos_url":"https://api.github.com/users/processone/repos","events_url":"https://api.github.com/users/processone/events{/privacy}","received_events_url":"https://api.github.com/users/processone/received_events","type":"Organization","site_admin":false},"repo":{"id":507610,"name":"ejabberd","full_name":"processone/ejabberd","owner":{"login":"processone","id":86724,"avatar_url":"https://avatars.githubusercontent.com/u/86724?v=3","gravatar_id":"","url":"https://api.github.com/users/processone","html_url":"https://github.com/processone","followers_url":"https://api.github.com/users/processone/followers","following_url":"https://api.github.com/users/processone/following{/other_user}","gists_url":"https://api.github.com/users/processone/gists{/gist_id}","starred_url":"https://api.github.com/users/processone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/processone/subscriptions","organizations_url":"https://api.github.com/users/processone/orgs","repos_url":"https://api.github.com/users/processone/repos","events_url":"https://api.github.com/users/processone/events{/privacy}","received_events_url":"https://api.github.com/users/processone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/processone/ejabberd","description":"Robust, ubiquitous and massively scalable Jabber / XMPP Instant Messaging platform","fork":false,"url":"https://api.github.com/repos/processone/ejabberd","forks_url":"https://api.github.com/repos/processone/ejabberd/forks","keys_url":"https://api.github.com/repos/processone/ejabberd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/processone/ejabberd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/processone/ejabberd/teams","hooks_url":"https://api.github.com/repos/processone/ejabberd/hooks","issue_events_url":"https://api.github.com/repos/processone/ejabberd/issues/events{/number}","events_url":"https://api.github.com/repos/processone/ejabberd/events","assignees_url":"https://api.github.com/repos/processone/ejabberd/assignees{/user}","branches_url":"https://api.github.com/repos/processone/ejabberd/branches{/branch}","tags_url":"https://api.github.com/repos/processone/ejabberd/tags","blobs_url":"https://api.github.com/repos/processone/ejabberd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/processone/ejabberd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/processone/ejabberd/git/refs{/sha}","trees_url":"https://api.github.com/repos/processone/ejabberd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/processone/ejabberd/statuses/{sha}","languages_url":"https://api.github.com/repos/processone/ejabberd/languages","stargazers_url":"https://api.github.com/repos/processone/ejabberd/stargazers","contributors_url":"https://api.github.com/repos/processone/ejabberd/contributors","subscribers_url":"https://api.github.com/repos/processone/ejabberd/subscribers","subscription_url":"https://api.github.com/repos/processone/ejabberd/subscription","commits_url":"https://api.github.com/repos/processone/ejabberd/commits{/sha}","git_commits_url":"https://api.github.com/repos/processone/ejabberd/git/commits{/sha}","comments_url":"https://api.github.com/repos/processone/ejabberd/comments{/number}","issue_comment_url":"https://api.github.com/repos/processone/ejabberd/issues/comments{/number}","contents_url":"https://api.github.com/repos/processone/ejabberd/contents/{+path}","compare_url":"https://api.github.com/repos/processone/ejabberd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/processone/ejabberd/merges","archive_url":"https://api.github.com/repos/processone/ejabberd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/processone/ejabberd/downloads","issues_url":"https://api.github.com/repos/processone/ejabberd/issues{/number}","pulls_url":"https://api.github.com/repos/processone/ejabberd/pulls{/number}","milestones_url":"https://api.github.com/repos/processone/ejabberd/milestones{/number}","notifications_url":"https://api.github.com/repos/processone/ejabberd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/processone/ejabberd/labels{/name}","releases_url":"https://api.github.com/repos/processone/ejabberd/releases{/id}","deployments_url":"https://api.github.com/repos/processone/ejabberd/deployments","created_at":"2010-02-08T10:37:25Z","updated_at":"2016-02-08T10:46:15Z","pushed_at":"2016-02-08T11:23:20Z","git_url":"git://github.com/processone/ejabberd.git","ssh_url":"git@github.com:processone/ejabberd.git","clone_url":"https://github.com/processone/ejabberd.git","svn_url":"https://github.com/processone/ejabberd","homepage":"http://www.process-one.net/en/ejabberd/","size":26705,"stargazers_count":2226,"watchers_count":2226,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":700,"mirror_url":null,"open_issues_count":130,"forks":700,"open_issues":130,"watchers":2226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/processone/ejabberd/pulls/914"},"html":{"href":"https://github.com/processone/ejabberd/pull/914"},"issue":{"href":"https://api.github.com/repos/processone/ejabberd/issues/914"},"comments":{"href":"https://api.github.com/repos/processone/ejabberd/issues/914/comments"},"review_comments":{"href":"https://api.github.com/repos/processone/ejabberd/pulls/914/comments"},"review_comment":{"href":"https://api.github.com/repos/processone/ejabberd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/processone/ejabberd/pulls/914/commits"},"statuses":{"href":"https://api.github.com/repos/processone/ejabberd/statuses/b62607037a5628818e3d965914e0e91b119281a6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"zinid","id":1095902,"avatar_url":"https://avatars.githubusercontent.com/u/1095902?v=3","gravatar_id":"","url":"https://api.github.com/users/zinid","html_url":"https://github.com/zinid","followers_url":"https://api.github.com/users/zinid/followers","following_url":"https://api.github.com/users/zinid/following{/other_user}","gists_url":"https://api.github.com/users/zinid/gists{/gist_id}","starred_url":"https://api.github.com/users/zinid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinid/subscriptions","organizations_url":"https://api.github.com/users/zinid/orgs","repos_url":"https://api.github.com/users/zinid/repos","events_url":"https://api.github.com/users/zinid/events{/privacy}","received_events_url":"https://api.github.com/users/zinid/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":20,"changed_files":1}}