fix: random crash when joining a channel for the first time
Fixes #8848 I'm not 100% sure why the issue is fixed by this, but I was able to pin point the source with a bisect and by running the Squish test for public chats over and over.
This commit is contained in:
parent
3f2f732698
commit
821b7f2571
|
@ -128,7 +128,7 @@ StatusWindow {
|
|||
Connections {
|
||||
id: windowsOsNotificationsConnection
|
||||
enabled: Qt.platform.os === Constants.windows
|
||||
target: typeof mainModule !== "undefined" ? mainModule : null
|
||||
target: Qt.platform.os === Constants.windows && typeof mainModule !== "undefined" ? mainModule : null
|
||||
function onDisplayWindowsOsNotification(title, message) {
|
||||
systemTray.showMessage(title, message)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue