diff --git a/src/skins/vector/views/molecules/voip/IncomingCallBox.js b/src/skins/vector/views/molecules/voip/IncomingCallBox.js
index ee437f0a..41afa83e 100644
--- a/src/skins/vector/views/molecules/voip/IncomingCallBox.js
+++ b/src/skins/vector/views/molecules/voip/IncomingCallBox.js
@@ -31,24 +31,29 @@ module.exports = React.createClass({
},
render: function() {
+
+ // NB: This block MUST be the first thing inside the
else react won't
+ // know that they refer to the same thing and so will clobber them between
+ // in-call / not-in-call resulting in no inbound audio.
+ var audioBlock = (
+
+ );
+
if (!this.state.incomingCall || !this.state.incomingCall.roomId) {
return (
-
+ {audioBlock}
);
}
var caller = MatrixClientPeg.get().getRoom(this.state.incomingCall.roomId).name;
return (