Skip to content

Commit

Permalink
Use empty string instead of null.
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
  • Loading branch information
Ivansss committed Feb 8, 2018
1 parent 3d02e1d commit 9814e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@
OCA.SpreedMe.Calls.createOneToOneVideoCall(e.val);
break;
case "group":
OCA.SpreedMe.Calls.createGroupVideoCall(e.val, null);
OCA.SpreedMe.Calls.createGroupVideoCall(e.val, "");
break;
case "createPublicRoom":
OCA.SpreedMe.Calls.createPublicVideoCall(OCA.SpreedMe.app._searchTerm);
break;
case "createGroupRoom":
OCA.SpreedMe.Calls.createGroupVideoCall(null, OCA.SpreedMe.app._searchTerm);
OCA.SpreedMe.Calls.createGroupVideoCall("", OCA.SpreedMe.app._searchTerm);
break;
default:
console.log("Unknown type", e.object.type);
Expand Down

0 comments on commit 9814e29

Please sign in to comment.