This commit is contained in:
Dan Seripap 2016-01-08 20:23:01 -05:00
parent b9f2919b93
commit 0d8680cf01
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ $(function() {
if (!roomId) return;
var socket = io(roomId);
$('#roomIdKey').text(roomId.replace('/', ''));
function addParticipantsMessage (data) {
var message = '';

View File

@ -28,7 +28,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">Chat Encryption Key</h4>
<center><h4 class="modal-title">Chat Encryption Key for RoomId: <strong><span id="roomIdKey"></span></strong></h4></center>
</div>
<div class="modal-body">
<p>This chat encryption key is randomly generated by every client. Clients must use the same chat key to decrypt chat messages. This key is <strong>NOT STORED</strong> nor transmitted to the server. Regardless if the room URL was shared, chat messages will appear as hash values until the same key is used between clients. You may change the key as many times as you want.</p>