diff --git a/apprise/plugins/matrix.py b/apprise/plugins/matrix.py index 4be235d1..2ad40592 100644 --- a/apprise/plugins/matrix.py +++ b/apprise/plugins/matrix.py @@ -1581,7 +1581,7 @@ class NotifyMatrix(NotifyBase): elif 'v' in results['qsd'] and len(results['qsd']['v']): results['version'] = NotifyMatrix.unquote(results['qsd']['v']) - if results['version'] == "token": + if results['version'] == MatrixVersion.TOKEN: results['mode'] = MatrixWebhookMode.DISABLED return results