-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Riot-web app block suspend #6814
Comments
I don't use electron on my mac - what is the user experience of this? Can you not sleep your mac once you've started riot.im electron? |
It prevents automatic sleeping when the app dispatches info about a voip call, so related probably to the erratic ringing from past calls on launch |
Seems sleep is blocked if after ending the call, sometimes rooms after call finished - stay with unread messages like:
|
Here is screenshot with fake unread notifications in Mac OS after ending call: http://i.imgur.com/bThGmA3.png |
Calls often transition from connected to connected after transitioning into the connected state (when the ICE layer connects) so we ended up creating two wake locks and then only stopping one of them. Don't make another wake lock if we already have one. Hopefully fixes #6814
Riot-web electron app block suspend mode in Mac OS immediately after start app (without starting using camera, mic, making any calls). Is there any way to fix this?
In Mac OS system monitor shows "yes" in column "Preventing sleep" of Riot app.
The text was updated successfully, but these errors were encountered: