Disable class-methods-use-this lint rule

This commit is contained in:
Evan Hahn 2021-11-04 16:04:51 -05:00 committed by GitHub
parent 569a14e897
commit d6ffb08a63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 8 additions and 80 deletions

View file

@ -313,7 +313,6 @@ export class ConversationController {
return conversation;
}
// eslint-disable-next-line class-methods-use-this
areWePrimaryDevice(): boolean {
const ourDeviceId = window.textsecure.storage.user.getDeviceId();
@ -719,7 +718,6 @@ export class ConversationController {
* conversation the message belongs to OR null if a conversation isn't
* found.
*/
// eslint-disable-next-line class-methods-use-this
async getConversationForTargetMessage(
targetFromId: string,
targetTimestamp: number