{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/2556","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/2556/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/2556/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/2556/events","html_url":"https://github.com/processone/ejabberd/issues/2556","id":347730666,"node_id":"MDU6SXNzdWUzNDc3MzA2NjY=","number":2556,"title":"max_user_conferences is compared to user’s # of joined MUCs across all vhosts","user":{"login":"michalrus","id":4366292,"node_id":"MDQ6VXNlcjQzNjYyOTI=","avatar_url":"https://avatars2.githubusercontent.com/u/4366292?v=4","gravatar_id":"","url":"https://api.github.com/users/michalrus","html_url":"https://github.com/michalrus","followers_url":"https://api.github.com/users/michalrus/followers","following_url":"https://api.github.com/users/michalrus/following{/other_user}","gists_url":"https://api.github.com/users/michalrus/gists{/gist_id}","starred_url":"https://api.github.com/users/michalrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalrus/subscriptions","organizations_url":"https://api.github.com/users/michalrus/orgs","repos_url":"https://api.github.com/users/michalrus/repos","events_url":"https://api.github.com/users/michalrus/events{/privacy}","received_events_url":"https://api.github.com/users/michalrus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"badlop","id":96807,"node_id":"MDQ6VXNlcjk2ODA3","avatar_url":"https://avatars1.githubusercontent.com/u/96807?v=4","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false},"assignees":[{"login":"badlop","id":96807,"node_id":"MDQ6VXNlcjk2ODA3","avatar_url":"https://avatars1.githubusercontent.com/u/96807?v=4","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2018-08-05T21:00:36Z","updated_at":"2018-08-20T13:49:08Z","closed_at":null,"author_association":"NONE","body":"> What version of ejabberd are you using?\r\n\r\n17.07.\r\n\r\n> What operating system (version) are you using?\r\n\r\nNixOS.\r\n\r\n> How did you install ejabberd (source, package, distribution)?\r\n\r\nPackage.\r\n\r\n> What did not work as expected? Are there error messages in the log? What\r\n> was the unexpected behavior? What was the expected result?\r\n\r\n* If I define two independent vhosts, each hosting a MUC service,\r\n\r\n* and define `max_user_conferences` for the second MUC service:\r\n\r\n    ```yaml\r\n            modules:\r\n              mod_muc:\r\n                max_user_conferences: 1\r\n    ```\r\n\r\n* and join a few rooms on the first MUC service,\r\n\r\n* then I cannot join any rooms on the second MUC service.\r\n\r\nThe vhosts manual says that vhosts are truly independent, so the number of joined MUCs should not be global here. E.g. magine if those MUC services were running on different machines, not as different vhosts.\r\n\r\nI.e. as an admin, I would like to limit `max_user_conferences` across a single MUC service I’m defining.\r\n\r\nHow can this be achieved?"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/414322679","html_url":"https://github.com/processone/ejabberd/issues/2556#issuecomment-414322679","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/2556","id":414322679,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDMyMjY3OQ==","user":{"login":"badlop","id":96807,"node_id":"MDQ6VXNlcjk2ODA3","avatar_url":"https://avatars1.githubusercontent.com/u/96807?v=4","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T13:49:08Z","updated_at":"2018-08-20T13:49:08Z","author_association":"MEMBER","body":"In SQL backends, only the current MUC service is used, not all the other vhosts, so I guess this behaviour in Mnesia is not expected nor desired. I've fixed it for mnesia. Thanks for reporting!"}}
{"actor":{"display_login":"badlop"}}