Matrix: client API Token use template variable fix.

pull/1236/head
vocoder 4 days ago
parent 2b9d94e0f0
commit cb074cad95

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

Loading…
Cancel
Save