From 6e63153d83aa3d2639f367e3ac093eb5ae1f70a0 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 2 Nov 2015 18:01:20 +0000 Subject: [PATCH] Add unsupported suffix on Ongoing conf notification if conf calls are unsupported in the browser --- src/skins/vector/views/organisms/RoomView.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/skins/vector/views/organisms/RoomView.js b/src/skins/vector/views/organisms/RoomView.js index 2dc63cacc..4f15ea618 100644 --- a/src/skins/vector/views/organisms/RoomView.js +++ b/src/skins/vector/views/organisms/RoomView.js @@ -230,9 +230,13 @@ module.exports = React.createClass({ var conferenceCallNotification = null; if (this.state.displayConfCallNotification) { + var supportedText; + if (!MatrixClientPeg.get().supportsVoip()) { + supportedText = " (unsupported)"; + } conferenceCallNotification = (
- Ongoing conference call + Ongoing conference call {supportedText}
); }