Fixed a few important errors avoiding normal usage of Socializer

This commit is contained in:
2019-07-14 11:31:10 -05:00
parent 2b462bfecb
commit cd623065e7
5 changed files with 10 additions and 12 deletions

View File

@@ -144,10 +144,8 @@ class Controller(object):
log.error("Error in setting offline status for the current user")
def create_unread_messages(self):
if self.session.settings["chat"]["open_unread_conversations"] == False:
return
try:
log.debug("Getting possible unread messages.")
log.debug("Creating conversation buffers...")
msgs = self.session.vk.client.messages.getConversations(count=200)
except VkApiError as ex:
if ex.code == 6: