From 901583a038cfd1b0c2e166399a36f696c7650aa2 Mon Sep 17 00:00:00 2001 From: Wolf Lindstrot Date: Fri, 13 Jun 2025 09:35:19 +0200 Subject: [PATCH] fix: Throttling is broken in Matrix plugin --- apprise/plugins/matrix.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apprise/plugins/matrix.py b/apprise/plugins/matrix.py index ffc4e3e9..c0ec83b5 100644 --- a/apprise/plugins/matrix.py +++ b/apprise/plugins/matrix.py @@ -1279,6 +1279,9 @@ class NotifyMatrix(NotifyBase): fn = requests.post if method == 'POST' else ( requests.put if method == 'PUT' else requests.get) + # Always call throttle before any remote server i/o is made + self.throttle() + # Define how many attempts we'll make if we get caught in a throttle # event retries = self.default_retries if self.default_retries > 0 else 1