diff --git a/skins/base/views/molecules/voip/MCallInviteTile.js b/skins/base/views/molecules/voip/MCallInviteTile.js index 4e8f6baf..ed73553b 100644 --- a/skins/base/views/molecules/voip/MCallInviteTile.js +++ b/skins/base/views/molecules/voip/MCallInviteTile.js @@ -30,7 +30,7 @@ module.exports = React.createClass({ var senderName = event.sender ? event.sender.name : "Someone"; // FIXME: Find a better way to determine this from the event? var type = "voice"; - if (event.getContent().offer && + if (event.getContent().offer && event.getContent().offer.sdp && event.getContent().offer.sdp.indexOf('m=video') !== -1) { type = "video"; }