Merge pull request #5075 from matrix-org/jryans/rm-tslint

Remove leftover bits of TSLint
This commit is contained in:
J. Ryan Stinnett 2020-07-31 20:30:51 +01:00 committed by GitHub
commit e9fcbfe3c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 76 deletions

View file

@ -111,8 +111,6 @@ export class OwnProfileStore extends AsyncStoreWithClient<IState> {
await this.updateState({displayName: profileInfo.displayname, avatarUrl: profileInfo.avatar_url});
};
// TSLint wants this to be a member, but we don't want that.
// tslint:disable-next-line
private onStateEvents = throttle(async (ev: MatrixEvent) => {
const myUserId = MatrixClientPeg.get().getUserId();
if (ev.getType() === 'm.room.member' && ev.getSender() === myUserId && ev.getStateKey() === myUserId) {