diff --git a/apprise/plugins/matrix.py b/apprise/plugins/matrix.py index cd8c14e9..4be235d1 100644 --- a/apprise/plugins/matrix.py +++ b/apprise/plugins/matrix.py @@ -1478,7 +1478,7 @@ class NotifyMatrix(NotifyBase): auth = '' if self.mode != MatrixWebhookMode.T2BOT: - if self.version == "token": + if self.version == MatrixVersion.TOKEN: self.access_token = self.user # Determine Authentication