pull/21833/head
Matthew Hodgson 2015-12-17 11:56:41 +00:00
parent d979a028a5
commit bb184c12a1
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ module.exports = React.createClass({
render: function() { render: function() {
var room = MatrixClientPeg.get().getRoom(this.props.incomingCall.roomId); var room = this.props.incomingCall ? MatrixClientPeg.get().getRoom(this.props.incomingCall.roomId) : null;
var caller = room ? room.name : "unknown"; var caller = room ? room.name : "unknown";
return ( return (
<div className="mx_IncomingCallBox" id="incomingCallBox"> <div className="mx_IncomingCallBox" id="incomingCallBox">