diff --git a/src/index.html b/src/index.html index b3765788..b97a3cbc 100644 --- a/src/index.html +++ b/src/index.html @@ -228,7 +228,7 @@
  • Available: It works offline-first and is not dependent on any single centrally managed server. Users can even connect directly to each other.
  • Released under MIT license. Code: Github.

    -

    Version 1.2.1

    +

    Version 1.2.2

    Get the desktop application

    diff --git a/src/js/videocall.js b/src/js/videocall.js index e51819bc..c26ff21e 100644 --- a/src/js/videocall.js +++ b/src/js/videocall.js @@ -81,16 +81,14 @@ function onCallMessage(pub, call) { if ($('#outgoing-call').length) { stopCalling(pub); stopUserMedia(pub); - $('#outgoing-call video').remove(); - $('#outgoing-call button').remove(); - $('#outgoing-call').append($('
    ').text('Call rejected')); + $('#outgoing-call').empty(); + $('#outgoing-call').append($('
    ').text(`Call rejected by ${chats[pub].name}`)); $('#outgoing-call').append($('