From 3767aad9dc6afb399202a5186673e0b7fe1c5cca Mon Sep 17 00:00:00 2001 From: das7pad Date: Mon, 17 Jul 2017 16:53:41 +0200 Subject: [PATCH] fix syncroom duplicates --- hangupsbot/plugins/syncrooms.py | 2 +- hangupsbot/webbridge/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hangupsbot/plugins/syncrooms.py b/hangupsbot/plugins/syncrooms.py index a11d649ee..f33a82f54 100644 --- a/hangupsbot/plugins/syncrooms.py +++ b/hangupsbot/plugins/syncrooms.py @@ -21,7 +21,7 @@ def __init__(self): def _initialise(bot): plugins.register_handler(_broadcast, type="sending") - plugins.register_handler(_repeat, type="allmessages") + plugins.register_handler(_repeat, type="message") #_register_chatbridge_behaviour('userlist', _syncout_users) diff --git a/hangupsbot/webbridge/__init__.py b/hangupsbot/webbridge/__init__.py index 9771040ae..641c48a7d 100644 --- a/hangupsbot/webbridge/__init__.py +++ b/hangupsbot/webbridge/__init__.py @@ -63,7 +63,7 @@ async def _register_handlers(self): await plugins.tracking.start({'module.path': self.uid}) self._closed = False plugins.register_handler(self._broadcast, "sending") - plugins.register_handler(self._repeat, "allmessages") + plugins.register_handler(self._repeat, "message") plugins.tracking.end() def close(self):