Commit 85908e63 authored by Sam McCollum's avatar Sam McCollum

sm - shorten session_id parameter

parent 134dabfe
......@@ -11,7 +11,7 @@ import static enterprises.mccollum.home.media.jsf.FacesUtils.getParam;
@RequestScoped
public class RemoteControl {
public String getId() {
String id = getParam("session_id");
String id = getParam("rc_id");
if(id != null)
return id;
return UUID.randomUUID().toString();
......
......@@ -164,7 +164,7 @@ class IcingPlayer {
break;
case 86: //v: display session id
case 118:
alert('Send this link to a friend so they can join in: '+window.location.href+'?session_id='+this.rcId);
alert('Send this link to a friend so they can join in: '+window.location.href+'?rc_id='+this.rcId);
break;
default:
console.log(event.keyCode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment