Add stop method for Client

This commit is contained in:
Dan 2017-12-09 20:52:02 +01:00
parent 746a4b685f
commit 6fd8e960ec

View File

@ -268,6 +268,9 @@ class Client:
self.rnd_id = self.session.msg_id
self.get_dialogs()
def stop(self):
self.session.stop()
def get_dialogs(self):
peers = []