From 8463452dfd5227a7b0ee5e52121b16518c953a6c Mon Sep 17 00:00:00 2001 From: voc0der Date: Fri, 29 Nov 2024 14:38:59 -0500 Subject: [PATCH] Matrix: Do not increment cache in long stored tokens. --- apprise/plugins/matrix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apprise/plugins/matrix.py b/apprise/plugins/matrix.py index 112fe0445..bf2e2dd94 100644 --- a/apprise/plugins/matrix.py +++ b/apprise/plugins/matrix.py @@ -748,7 +748,8 @@ def _send_server_notification(self, body, title='', # Increment the transaction ID to avoid future messages being # recognized as retransmissions and ignored - if self.version == MatrixVersion.V3 and self.access_token != self.password: + if self.version == MatrixVersion.V3 \ + and self.access_token != self.password: self.transaction_id += 1 self.store.set( 'transaction_id', self.transaction_id,