Fixed a few important errors avoiding normal usage of Socializer

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

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
name = "Socializer" name = "Socializer"
version = "0.21" version = "0.22"
author = "Manuel Cortez" author = "Manuel Cortez"
authorEmail = "manuel@manuelcortez.net" authorEmail = "manuel@manuelcortez.net"
copyright = "Copyright (C) 2016-2019, Manuel Cortez" copyright = "Copyright (C) 2016-2019, Manuel Cortez"

View File

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

View File

@ -5,7 +5,7 @@ CRCCheck on
ManifestSupportedOS all ManifestSupportedOS all
XPStyle on XPStyle on
Name "Socializer" Name "Socializer"
OutFile "socializer_0.21_setup.exe" OutFile "socializer_0.22_setup.exe"
InstallDir "$PROGRAMFILES\socializer" InstallDir "$PROGRAMFILES\socializer"
InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "InstallLocation" InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "InstallLocation"
RequestExecutionLevel admin RequestExecutionLevel admin
@ -14,10 +14,10 @@ SetCompressor /solid lzma
SetDatablockOptimize on SetDatablockOptimize on
VIAddVersionKey ProductName "Socializer" VIAddVersionKey ProductName "Socializer"
VIAddVersionKey LegalCopyright "Copyright 2019 Manuel Cortez." VIAddVersionKey LegalCopyright "Copyright 2019 Manuel Cortez."
VIAddVersionKey ProductVersion "0.21" VIAddVersionKey ProductVersion "0.22"
VIAddVersionKey FileVersion "0.21" VIAddVersionKey FileVersion "0.22"
VIProductVersion "0.21.0.0" VIProductVersion "0.22.0.0"
VIFileVersion "0.21.0.0" VIFileVersion "0.22.0.0"
!insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_DIRECTORY
var StartMenuFolder var StartMenuFolder
@ -50,7 +50,7 @@ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "UninstallString" '"$INSTDIR\uninstall.exe"' WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "InstallLocation" $INSTDIR WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "InstallLocation" $INSTDIR
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "Publisher" "Manuel Cortez" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall" "Publisher" "Manuel Cortez"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "DisplayVersion" "0.21" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "DisplayVersion" "0.22"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "URLInfoAbout" "http://socializer.su" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "URLInfoAbout" "http://socializer.su"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMajor" 0 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMajor" 0
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMinor" 19 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\socializer" "VersionMinor" 19

View File

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Socializer 0.21\n" "Project-Id-Version: Socializer 0.21\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-02 11:04-0500\n" "POT-Creation-Date: 2019-07-02 11:04-0500\n"
"PO-Revision-Date: 2019-07-13 08:47-0500\n" "PO-Revision-Date: 2019-07-14 11:18-0500\n"
"Last-Translator: Manuel Cortez <manuel@manuelcortez.net>\n" "Last-Translator: Manuel Cortez <manuel@manuelcortez.net>\n"
"Language-Team: Дарья Ратникова <dariafreja@yandex.ru>\n" "Language-Team: Дарья Ратникова <dariafreja@yandex.ru>\n"
"Language: ru\n" "Language: ru\n"
@ -1080,7 +1080,7 @@ msgid "Post"
msgstr "Запись" msgstr "Запись"
msgid "Post as {user1_nom}" msgid "Post as {user1_nom}"
msgstr "Опубликовать как {user1_name}" msgstr "Опубликовать как {user1_nom}"
msgid "Post from {user1_nom}" msgid "Post from {user1_nom}"
msgstr "Запись от {user1_gen}" msgstr "Запись от {user1_gen}"