mirror of
https://github.com/caronc/apprise.git
synced 2025-03-13 06:18:14 +01:00
Matrix: No cache in long lived; use UUID.
This commit is contained in:
parent
963a09da1b
commit
d1c806de75
@ -32,6 +32,7 @@
|
||||
#
|
||||
import re
|
||||
import requests
|
||||
import uuid
|
||||
from markdown import markdown
|
||||
from json import dumps
|
||||
from json import loads
|
||||
@ -616,6 +617,7 @@ class NotifyMatrix(NotifyBase):
|
||||
|
||||
if self.access_token is None and self.password and not self.user:
|
||||
self.access_token = self.password
|
||||
self.transaction_id = uuid.uuid4()
|
||||
|
||||
if self.access_token is None:
|
||||
# We need to register
|
||||
|
Loading…
Reference in New Issue
Block a user