Matrix: Use UUID for long lived tokens and prevent logout.

This commit is contained in:
voc0der 2024-11-29 14:16:37 -05:00
parent 42b8d28f72
commit 906248a77a

View File

@ -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: