diff --git a/index.html b/index.html index 8bac86e..9890840 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ +
diff --git a/scripts/communications.js b/scripts/communications.js index 2366b07..3d7ec1d 100644 --- a/scripts/communications.js +++ b/scripts/communications.js @@ -486,6 +486,9 @@ function connect(profile, connection_id) username: profile.username, password: profile.password }); + + // Save the details + g.username = profile.username; } }); diff --git a/scripts/profiles.js b/scripts/profiles.js index 304e2ca..de2ffef 100644 --- a/scripts/profiles.js +++ b/scripts/profiles.js @@ -161,9 +161,22 @@ function chat_switch_to(id) // Loop over the messages for(var i=0;i