Improve .is_user_authorized() and add a .get_me() method

This commit is contained in:
Lonami Exo
2017-06-04 17:24:08 +02:00
parent 7acfd0c6c9
commit cf6f300df1
2 changed files with 33 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ class Session:
self.salt = 0 # Unsigned long
self.time_offset = 0
self.last_message_id = 0 # Long
# TODO Remove this now unused members, left so unpickling is happy
self.user = None
def save(self):