pull/7/head
mdPlusPlus 1 year ago
parent e1c9ef3dfa
commit a5aa357c72

@ -11,10 +11,10 @@
error_reporting(E_ALL & ~E_WARNING);
// regex that matches room join links like http://1.2.3.4:56789/token?public_key=0123456789abcdef
$room_join_regex = "/https?:\/\/.+\?public_key=[0-9a-f]+/" ; //TODO: How long can a public key be?
$room_join_regex = "/https?:\/\/.+\?public_key=[0-9a-f]+/" ; //TODO: How long can a public key be? Most likely exactly 64 chars long
// room token regex part
$room_token_regex_part = "[0-9A-Za-z]+"; //TODO: actually correct? Most likely exactly 64 chars long
$room_token_regex_part = "[0-9A-Za-z]+"; //TODO: actually correct?
/*
* Some servers don't appear in the wild yet, but can be queried

Loading…
Cancel
Save