audio recorder mostly OK

This commit is contained in:
or-else
2022-03-10 17:12:09 -08:00
parent e0c412a33c
commit 00a1b656e4
10 changed files with 272 additions and 137 deletions
-4
View File
@@ -4,14 +4,10 @@ import { FormattedMessage } from 'react-intl';
import Tinode from 'tinode-sdk';
import AudioRecorder from '../widgets/audio-recorder.jsx';
import { APP_NAME } from '../config.js';
export default class LogoView extends React.PureComponent {
render() {
return <AudioRecorder />
const version = APP_NAME + ' (' + Tinode.getLibrary() + ')';
return (
<div id="dummy-view">
+1 -1
View File
@@ -190,7 +190,7 @@ class MessagesView extends React.Component {
if (topic && ((this.state.topic != prevState.topic) || !prevProps.ready)) {
if (topic._new) {
console.log('Fetching new topic description');
topic.getMeta(topic.startMetaQuery().withDesc().build());
// topic.getMeta(topic.startMetaQuery().withDesc().build());
} else {
this.subscribe(topic);
}