Skip to content

Commit

Permalink
Matrix: Use UUID for long lived tokens and prevent logout.
Browse files Browse the repository at this point in the history
  • Loading branch information
voc0der committed Nov 29, 2024
1 parent 42b8d28 commit 906248a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apprise/plugins/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,8 @@ def __del__(self):
# re-use our credentials with
return

if self.access_token != None and self.access_token == self.password and not self.user:
if self.access_token is not None \
and self.access_token == self.password and not self.user:
return

try:
Expand Down

0 comments on commit 906248a

Please sign in to comment.