@@ -20,7 +20,7 @@ import lib.rocket # pylint: disable=C0413
2020from lib .globals import (STATE_OK , STATE_UNKNOWN ) # pylint: disable=C0413
2121
2222__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
23- __version__ = '2025100601 '
23+ __version__ = '2025112601 '
2424
2525DESCRIPTION = """This plugin allows you to track statistics about a Rocket.Chat server,
2626 structured in the same way as on the https://rocket.chat/admin/info page.
@@ -171,9 +171,8 @@ def main():
171171 lib .human .bytes2human (result .get ('uploadsTotalSize' , 0 )),
172172 )
173173
174- msg += '\n * Total Rooms: {} ({}, {} {}, {} private {}, {} direct msg {}, {} {}, {} omnichannel {})' .format ( # pylint: disable=C0301
174+ msg += '\n * Total Rooms: {} ({} {}, {} private {}, {} direct msg {}, {} {}, {} omnichannel {})' .format ( # pylint: disable=C0301
175175 result .get ('totalRooms' , 'n/a' ),
176- lib .txt .pluralize ('room' , result .get ('totalRooms' , 0 )),
177176 result .get ('totalChannels' , 'n/a' ),
178177 lib .txt .pluralize ('channel' , result .get ('totalChannels' , 0 )),
179178 result .get ('totalPrivateGroups' , 'n/a' ),
@@ -186,7 +185,7 @@ def main():
186185 lib .txt .pluralize ('room' , result .get ('totalLivechat' , 0 )),
187186 )
188187
189- msg += '\n * Total Messages: {}, {} {}, {} in channels, {} in priv groups, {} in direct msg, {} in omnichannel' .format ( # pylint: disable=C0301
188+ msg += '\n * Total Messages: {} ( {} {}, {} in channels, {} in priv groups, {} in direct msg, {} in omnichannel) ' .format ( # pylint: disable=C0301
190189 lib .human .number2human (result .get ('totalMessages' , 0 )),
191190 result .get ('totalThreads' , 'n/a' ),
192191 lib .txt .pluralize ('thread' , result .get ('totalThreads' , 0 )),
0 commit comments