Skip to content

Commit

Permalink
Merge pull request #38 from veytu/@wlj/pearsonal
Browse files Browse the repository at this point in the history
fix: format
  • Loading branch information
Loren-Wang authored Oct 12, 2024
2 parents f504f9d + c0a0c2c commit 42afd48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gallery/classroom/hx-chat/fcr-chatroom/store/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export class UserStore {

//用户信息转空的流
private userToEduStream(user: AgoraIMUserInfo): EduStream {
return new UseStream(new AgoraStream({
return new UserStream(new AgoraStream({
streamUuid: '',
streamName: '',
fromUser: {
Expand Down Expand Up @@ -401,7 +401,7 @@ export class UserStore {
return AgoraRteMediaSourceState.started === stream?.audioSourceState && AgoraRteMediaPublishState.Published === stream?.audioState;
}
}
class UseStream extends EduStream{
class UserStream extends EduStream{
get isLocal(): boolean {
return false
}
Expand Down
4 changes: 3 additions & 1 deletion src/gallery/classroom/vote/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ export class PluginStore {
const { userUuid } = this._widget.classroomConfig.sessionInfo;
if (value instanceof Set && value?.has(userUuid)) {
this.setBoardEditOpen(true);
} else this.setBoardEditOpen(false);
} else {
this.setBoardEditOpen(false);
}
}
});

Expand Down

0 comments on commit 42afd48

Please sign in to comment.