feat: Add matrix match backwards compatible test

This commit is contained in:
Yarmo Mackenbach 2023-03-16 11:25:34 +01:00
parent 92ce86a6e0
commit 955bbd8a08
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -80,6 +80,11 @@ const tests = [
uri: 'matrix:u/alice:matrix.domain.org', uri: 'matrix:u/alice:matrix.domain.org',
shouldMatch: true shouldMatch: true
}, },
{
uri:
'matrix:u/@alice:matrix.domain.org?org.keyoxide.r=!123:domain.org&org.keyoxide.e=$123',
shouldMatch: true
},
{ {
uri: 'xmpp:alice@domain.org', uri: 'xmpp:alice@domain.org',
shouldMatch: false shouldMatch: false