Added joinServer

This commit is contained in:
hydrabolt
2015-11-18 17:13:06 +00:00
parent e7df5bd400
commit c342ca4116
9 changed files with 81 additions and 34 deletions

View File

@@ -17,9 +17,9 @@ class Resolver {
this.internal = internal;
}
resolveInvite(resource){
resolveInviteID(resource){
if(resource instanceof Invite){
return resource;
return resource.id;
}else if (typeof resource == "string" || resource instanceof String) {
if (resource.indexOf("http") === 0) {