Skip to content

Commit

Permalink
Matrix: Do not increment cache in long stored tokens.
Browse files Browse the repository at this point in the history
  • Loading branch information
voc0der committed Nov 29, 2024
1 parent 906248a commit e3e2357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprise/plugins/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ 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:
if self.version == MatrixVersion.V3 and self.access_token != self.password:
self.transaction_id += 1
self.store.set(
'transaction_id', self.transaction_id,
Expand Down

0 comments on commit e3e2357

Please sign in to comment.