refactor(client): Use v-model for note component, freeze object
Related: #6595
This commit is contained in:
@@ -112,10 +112,10 @@ export default class Stream extends EventEmitter {
|
||||
}
|
||||
|
||||
for (const c of connections.filter(c => c != null)) {
|
||||
c.emit(body.type, body.body);
|
||||
c.emit(body.type, Object.freeze(body.body));
|
||||
}
|
||||
} else {
|
||||
this.emit(type, body);
|
||||
this.emit(type, Object.freeze(body));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user