Make roomStoreToken readonly

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-18 14:32:24 +02:00
parent d7e6856614
commit 21eb299eff
No known key found for this signature in database
GPG key ID: CC823428E9B582FB

View file

@ -42,7 +42,7 @@ interface IState {
@replaceableComponent("views.rooms.ReplyPreview") @replaceableComponent("views.rooms.ReplyPreview")
export default class ReplyPreview extends React.Component<IProps, IState> { export default class ReplyPreview extends React.Component<IProps, IState> {
private unmounted = false; private unmounted = false;
private roomStoreToken: EventSubscription; private readonly roomStoreToken: EventSubscription;
constructor(props) { constructor(props) {
super(props); super(props);