From 71023ae9dfc7cf5cc85897f6481536ecfddde6e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Damir=20Jeli=C4=87?= <poljar@termina.org.uk>
Date: Fri, 11 Oct 2019 17:17:24 +0200
Subject: [PATCH] ElectronPlatform: Fix lint errors.

---
 src/vector/platform/ElectronPlatform.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js
index e50f287f..d6a689fc 100644
--- a/src/vector/platform/ElectronPlatform.js
+++ b/src/vector/platform/ElectronPlatform.js
@@ -294,15 +294,15 @@ export default class ElectronPlatform extends VectorBasePlatform {
         }
     }
 
-    async initEventIndex(user_id: string): void {
-        return this._ipcCall('initEventIndex', user_id);
+    async initEventIndex(userId: string): void {
+        return this._ipcCall('initEventIndex', userId);
     }
 
     supportsEventIndexing(): boolean {
-        return true
+        return true;
     }
 
-    async addEventToIndex(ev: {}, profile: {}) {
+    async addEventToIndex(ev: {}, profile: {}): void {
         return this._ipcCall('addEventToIndex', ev, profile);
     }
 
@@ -318,7 +318,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
         return this._ipcCall('searchEventIndex', term);
     }
 
-    async addHistoricEvents(events: string, checkpoint = null, oldCheckpoint = null): Promise<{}> {
+    async addHistoricEvents(events: string, checkpoint: {} = null, oldCheckpoint: {} = null): Promise<{}> {
         return this._ipcCall('addHistoricEvents', events, checkpoint, oldCheckpoint);
     }