mirror of
https://github.com/caronc/apprise.git
synced 2025-03-13 06:18:14 +01:00
Matrix: Use UUID for long lived tokens and prevent logout.
This commit is contained in:
parent
42b8d28f72
commit
906248a77a
@ -1403,7 +1403,8 @@ class NotifyMatrix(NotifyBase):
|
||||
# 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:
|
||||
|
Loading…
Reference in New Issue
Block a user