Matrix: client API Token use template variable fix.

This commit is contained in:
vocoder 2024-11-20 16:59:37 -05:00
parent 2b9d94e0f0
commit cb074cad95

View File

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