소스 검색

fix(live-streaming): trim the entered stream key

master
Leonard Kim 6 년 전
부모
커밋
b57eaed940
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js

+ 2
- 1
react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js 파일 보기

@@ -194,7 +194,8 @@ export default class AbstractStartLiveStreamDialog<P: Props>
194 194
      */
195 195
     _onSubmit() {
196 196
         const { broadcasts, selectedBoundStreamID } = this.state;
197
-        const key = this.state.streamKey || this.props._streamKey;
197
+        const key
198
+            = (this.state.streamKey || this.props._streamKey || '').trim();
198 199
 
199 200
         if (!key) {
200 201
             return false;

Loading…
취소
저장