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

Improve away detection #194

Closed
geekgonecrazy opened this issue May 25, 2016 · 4 comments · Fixed by #1542
Closed

Improve away detection #194

geekgonecrazy opened this issue May 25, 2016 · 4 comments · Fixed by #1542

Comments

@geekgonecrazy
Copy link
Contributor

geekgonecrazy commented May 25, 2016

If the screen goes blank or laptop lid shut, etc we should be setting the user to away.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@alex-shumilov
Copy link

alex-shumilov commented Feb 13, 2017

I have to add that the application changes to active only when user focusing it.
And i guess it would be good tone to react on lock workstation, screen sleep, system sleep, hibernate, timeout and then all the way back - unlock, wake up, wake up, wake up, user activity.

@geekgonecrazy, I'd propose to change this issue type from enhancement to...eh, issue), as to me is it rather basic functionality for any IM in the wild.

@gdelavald
Copy link
Contributor

This could be achieved with power-monitor api provided on electron.

@josecanciani
Copy link

There are several opened issues in the server side regarding away and notifications:
RocketChat/Rocket.Chat#3667
RocketChat/Rocket.Chat#1602
RocketChat/Rocket.Chat#7130
Apparently, even if you set your desktop client to Away manually, the server will not send you push notifications for 5 minutes. If you leave your desk, you cannot know if someone message you in those five minutes unless you open the app in the phone.

One solution would be if we just logout :) But that is not practical as you need to login again by typing the password. I wonder why is there not an offline option? But even if there is a way, there is no way to fix this automatically. Do anyone know if there is a way to send commands via a CLI? One could add an OS trigger to set the client offline/logout when computer is locked, for example.

Sorry, I may be a bit offtopic, but since I've had some important messages missed in just a week using this app, I'm a bit concerned about it :)

Jose

@btorellALTA
Copy link

Does anybody know what the status of this issue is? It would definitely be nice if the app would mark users as Away when they lock their computers instead of having to close the app or log off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants