ejabberd 19.* fix
* ejabberd 19 and above report muc count only on the muc host
This commit is contained in:
parent
5ce45fca7f
commit
7c656961ce
|
@ -155,7 +155,7 @@ class EjabberdMetrics:
|
|||
def fetch_muc(self, vhost=None):
|
||||
host = "global"
|
||||
if vhost is not None:
|
||||
if self._verstring.major > 19:
|
||||
if self._verstring.major >= 19:
|
||||
host = "conference." + vhost
|
||||
else:
|
||||
host = vhost
|
||||
|
|
Loading…
Reference in New Issue