diff --git a/mautrix_facebook/user.py b/mautrix_facebook/user.py index 87ae1bf0e64f2a13241dbf16da2e67311dfcc810..24a4a347734020390ec4d42ee6133237215849b5 100644 --- a/mautrix_facebook/user.py +++ b/mautrix_facebook/user.py @@ -464,7 +464,8 @@ class User(BaseUser): else "Failed to connect to") message = f"{event} Facebook Messenger: {e}. {next_action}" self.log.warning(message) - await self.send_bridge_notice(message, important=not refresh) + if not refresh or self.temp_disconnect_notices: + await self.send_bridge_notice(message, important=not refresh) if refresh: self._prev_reconnect_fail_refresh = time.monotonic() self.loop.create_task(self.try_refresh())