From 153dc0bdad5a1db14add712008773af149f1ef4c Mon Sep 17 00:00:00 2001 From: Kacper Ziubryniewicz Date: Sun, 7 Oct 2018 16:27:19 +0200 Subject: [PATCH] Remove unnecessary code --- fbchat/client.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/fbchat/client.py b/fbchat/client.py index 69c858d..c08506c 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -238,22 +238,6 @@ class Client(object): self.payloadDefault['ttstamp'] = self.ttstamp self.payloadDefault['fb_dtsg'] = self.fb_dtsg - self.form = { - 'channel' : self.user_channel, - 'partition' : '-2', - 'clientid' : self.client_id, - 'viewer_uid' : self.uid, - 'uid' : self.uid, - 'state' : 'active', - 'format' : 'json', - 'idle' : 0, - 'cap' : '8' - } - - self.prev = now() - self.tmp_prev = now() - self.last_sync = now() - def _login(self): if not (self.email and self.password): raise FBchatUserError("Email and password not found.")