Skip to content

Commit 4d6ecee

Browse files
authored
fix: WebXDC apps only opening on one account
The symptoms are: - After launching Delta Chat, WebXDC apps open OK. - After switching to another account and clicking a WebXDC app, nothing happens. - On second click, the app window opens, but it's blank. The bug has been introduced in b3f66a5 (#5451).
1 parent d2fc843 commit 4d6ecee

File tree

1 file changed

+1
-1
lines changed
  • packages/target-electron/src/deltachat

1 file changed

+1
-1
lines changed

packages/target-electron/src/deltachat/webxdc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default class DCWebxdc {
112112
let dummyProxy_: { server: Server; url: string } | undefined
113113
const getDummyProxyUrl = async () => {
114114
if (dummyProxy_) {
115-
if (dummyProxy_.server.listening) {
115+
if (!dummyProxy_.server.listening) {
116116
// TODO maybe also close all WebXDC instances
117117
// as soon as we encounter any error?
118118
// This would be more important when/if we get rid of `host-rules`.

0 commit comments

Comments
 (0)