Webpack build for branch 11.3-dev: 21326f67a0

This commit is contained in:
Travis CI 2018-05-04 16:53:16 +00:00
parent f54e77a092
commit 1517be6a5f
2 changed files with 2 additions and 2 deletions

View file

@ -11918,7 +11918,7 @@ class ClientDataResolver {
* @returns {string}
*/
resolveInviteCode(data) {
const inviteRegex = /discord(?:app\.com\/invite|\.gg)\/([\w-]{2,255})/i;
const inviteRegex = /discord(?:app\.com\/invite|\.gg(?:\/invite)?)\/([\w-]{2,255})/i;
const match = inviteRegex.exec(data);
if (match && match[1]) return match[1];
return data;

File diff suppressed because one or more lines are too long