Some style fixes.

This commit is contained in:
aforge
2023-05-09 14:23:26 -07:00
parent 981ef684a7
commit f7120d824d
37 changed files with 23592 additions and 391 deletions
+1 -1
View File
@@ -1442,7 +1442,7 @@ class MessagesView extends React.Component {
);
} else if (this.state.rtcPanel) {
// P2P call.
if (this.state.rtcPanel.startsWith("usr")) {
if (Tinode.isP2PTopicName(this.state.rtcPanel)) {
component2 = (
<CallPanel
topic={this.state.topic}
+2 -2
View File
@@ -1776,7 +1776,7 @@ class TinodeWeb extends React.Component {
switch (callState) {
case CALL_STATE_OUTGOING_INITATED:
const head = { webrtc: CALL_HEAD_STARTED, aonly: !!audioOnly };
let msg = Drafty.videoCall(audioOnly);
const msg = Drafty.videoCall(audioOnly);
if (Tinode.isGroupTopicName(callTopic)) {
// Video conference.
head.vc = true;
@@ -1873,7 +1873,7 @@ class TinodeWeb extends React.Component {
}
if (topic.isSubscribed()) {
this.handleTopicSelected(setCallTopic ? topicName : this.state.callTopic);
let upd = {
const upd = {
callState: CALL_STATE_IN_PROGRESS
}
if (setCallTopic) {