Skip to content

Commit 4fe46d1

Browse files
author
overtake
committed
- bug fixes and improvements
1 parent d779ffd commit 4fe46d1

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

‎Telegram-Mac/AppDelegate.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ class AppDelegate: NSResponder, NSApplicationDelegate, NSUserNotificationCenterD
186186

187187
#if DEBUG
188188
MTLogSetEnabled(true)
189+
logger.logToConsole = true
189190
logger.logToFile = true
190191
#endif
191192

@@ -413,7 +414,7 @@ class AppDelegate: NSResponder, NSApplicationDelegate, NSUserNotificationCenterD
413414
}
414415
|> mapToSignal { sharedApplicationContext, loggingSettings -> Signal<SharedApplicationContext, NoError> in
415416
Logger.shared.logToFile = loggingSettings.logToFile
416-
Logger.shared.logToConsole = false//loggingSettings.logToConsole
417+
Logger.shared.logToConsole = true//loggingSettings.logToConsole
417418
Logger.shared.redactSensitiveData = true//loggingSettings.redactSensitiveData
418419
return .single(sharedApplicationContext)
419420
})

‎Telegram-Mac/AuthController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ class AuthController : GenericViewController<AuthHeaderView> {
10251025
}
10261026

10271027
private func refreshQrToken(_ showProgress: Bool = false) {
1028-
var tokenSignal = exportAuthTransferToken(accountManager: self.sharedContext.accountManager, account: self.account, syncContacts: false)
1028+
var tokenSignal = exportAuthTransferToken(accountManager: self.sharedContext.accountManager, account: self.account, otherAccountUserIds: [], syncContacts: false)
10291029

10301030
if showProgress {
10311031
tokenSignal = showModalProgress(signal: tokenSignal |> take(1), for: mainWindow)

‎Telegram-Mac/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>186505</string>
39+
<string>186513</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.social-networking</string>
4242
<key>LSFileQuarantineEnabled</key>

‎TelegramShare/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundleShortVersionString</key>
2222
<string>5.8.2</string>
2323
<key>CFBundleVersion</key>
24-
<string>186505</string>
24+
<string>186513</string>
2525
<key>LSMinimumSystemVersion</key>
2626
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2727
<key>NSExtension</key>

‎submodules/telegram-ios

Submodule telegram-ios updated from 4a05d43 to 502456e

0 commit comments

Comments
 (0)