{"action":"created","issue":{"url":"https://api.github.com/repos/esl/MongooseIM/issues/1679","repository_url":"https://api.github.com/repos/esl/MongooseIM","labels_url":"https://api.github.com/repos/esl/MongooseIM/issues/1679/labels{/name}","comments_url":"https://api.github.com/repos/esl/MongooseIM/issues/1679/comments","events_url":"https://api.github.com/repos/esl/MongooseIM/issues/1679/events","html_url":"https://github.com/esl/MongooseIM/issues/1679","id":290415724,"number":1679,"title":"Host-indenependent modules disappear when hosts config is changed","user":{"login":"bartekgorny","id":70064,"avatar_url":"https://avatars2.githubusercontent.com/u/70064?v=4","gravatar_id":"","url":"https://api.github.com/users/bartekgorny","html_url":"https://github.com/bartekgorny","followers_url":"https://api.github.com/users/bartekgorny/followers","following_url":"https://api.github.com/users/bartekgorny/following{/other_user}","gists_url":"https://api.github.com/users/bartekgorny/gists{/gist_id}","starred_url":"https://api.github.com/users/bartekgorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartekgorny/subscriptions","organizations_url":"https://api.github.com/users/bartekgorny/orgs","repos_url":"https://api.github.com/users/bartekgorny/repos","events_url":"https://api.github.com/users/bartekgorny/events{/privacy}","received_events_url":"https://api.github.com/users/bartekgorny/received_events","type":"User","site_admin":false},"labels":[{"id":12261261,"url":"https://api.github.com/repos/esl/MongooseIM/labels/bug","name":"bug","color":"e10c02","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-01-22T10:27:21Z","updated_at":"2018-02-14T15:00:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"MongooseIM version: master\r\nInstalled from: any\r\nErlang/OTP version: any\r\n\r\nWhile most modules are loaded, configured and used per host, there are some which do not depend on host - exemplum: mod_admin_extra. It is activated whenever a host is started, but subsequent activations are idempotent. However, when a host is stopped, the module is deactivated. Result: if you remove a host from \"hosts\" config and reload config the module's functionality is gone. Which is not what one would expect.\r\n\r\nThere are at least two ways to solve the issue: (1) using \"refcount\", (2) creating a separate configuration for host-independent, or \"global\", modules."},"comment":{"url":"https://api.github.com/repos/esl/MongooseIM/issues/comments/365633424","html_url":"https://github.com/esl/MongooseIM/issues/1679#issuecomment-365633424","issue_url":"https://api.github.com/repos/esl/MongooseIM/issues/1679","id":365633424,"user":{"login":"fenek","id":548816,"avatar_url":"https://avatars0.githubusercontent.com/u/548816?v=4","gravatar_id":"","url":"https://api.github.com/users/fenek","html_url":"https://github.com/fenek","followers_url":"https://api.github.com/users/fenek/followers","following_url":"https://api.github.com/users/fenek/following{/other_user}","gists_url":"https://api.github.com/users/fenek/gists{/gist_id}","starred_url":"https://api.github.com/users/fenek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenek/subscriptions","organizations_url":"https://api.github.com/users/fenek/orgs","repos_url":"https://api.github.com/users/fenek/repos","events_url":"https://api.github.com/users/fenek/events{/privacy}","received_events_url":"https://api.github.com/users/fenek/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T15:00:38Z","updated_at":"2018-02-14T15:00:38Z","author_association":"MEMBER","body":"`service` sounds way better than `plugin` and me like it. :) I'll try to add such evaluation to the current sprint, unless @bartekgorny wants to do it?"}}
{"actor":{"display_login":"fenek"}}