Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular C is undefined / C is not a function errors in console #1570

Closed
Porkepix opened this issue Dec 2, 2023 · 2 comments
Closed

Regular C is undefined / C is not a function errors in console #1570

Porkepix opened this issue Dec 2, 2023 · 2 comments

Comments

@Porkepix
Copy link

Porkepix commented Dec 2, 2023

Describe the bug

I can regularly find these errors in the console logs

[Error] Caught /sync error – TypeError: C.close is not a function. (In 'C.close()', 'C.close' is undefined) — index-eaa22fd4.js:57071:23887
TypeError: C.close is not a function. (In 'C.close()', 'C.close' is undefined) — index-eaa22fd4.js:57071:23887
	(anonymous function) (index-eaa22fd4.js:62:26356)

and

[Error] Failed to process events on room !foo:matrix.org: – TypeError: C.close is not a function. (In 'C.close()', 'C.close' is undefined) — index-eaa22fd4.js:57071:23887
TypeError: C.close is not a function. (In 'C.close()', 'C.close' is undefined) — index-eaa22fd4.js:57071:23887
	(anonymous function) (index-eaa22fd4.js:62:33114)

Reproduction

I have no STR

Expected behavior

These errors probably shouldn't happen (or be more clear)

Platform and versions

Archlinux and Cinny desktop 3.2.1 (didn't open the issue on the desktop side as I can't tell if it's exclusive to that one).

Additional context

I'm trying to track down an issue of some messages not received on Cinny while being received on other clients. After Cinny's restart message is here. These errors might be totally unrelated to that issue, but I've no real clue for that one for now, so I'm reporting what I can find.

@aceArt-GmbH
Copy link
Contributor

aceArt-GmbH commented Dec 29, 2023

Seems to be the same issue as cinnyapp/cinny-desktop#252 which points to

this.roomIdToPopupNotis.get(roomId)?.forEach((n) => {
this.eventIdToPopupNoti.delete(n.tag);
n.close();
});

Can't reproduce in web, but in desktop/tauri.
Get notification, but read in other client.
image
C has no .close()

@ajbura
Copy link
Member

ajbura commented Jul 26, 2024

this has been fixed in v4.0.0

@ajbura ajbura closed this as completed Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants