RocketChat Token Support (#1060)

This commit is contained in:
Chris Caron
2024-04-13 19:59:43 -04:00
committed by GitHub
parent 7a985ea787
commit 33c756979f
2 changed files with 54 additions and 15 deletions

View File

@ -107,6 +107,16 @@ apprise_url_tests = (
},
'privacy_url': 'rockets://user:****@localhost',
}),
# A channel using token based
('rockets://user:token@localhost/#channel?mode=token', {
'instance': NotifyRocketChat,
'privacy_url': 'rockets://user:****@localhost',
}),
# Token is detected based o it's length
('rockets://user:{}@localhost/#channel'.format('t' * 40), {
'instance': NotifyRocketChat,
'privacy_url': 'rockets://user:****@localhost',
}),
# Several channels
('rocket://user:pass@localhost/#channel1/#channel2/?avatar=Yes', {
'instance': NotifyRocketChat,