In v13.11 and up, How can a user see a list of all logged in users?

In older versions (v10 and V11) all you had to do was open up the “Chat” function and all logged in users were listed down the left side of the screen.

How do I find a similar list in v13?

I do not care about whether it is in the chat module or some other place in the system, I just need a way for the shift foreman to see who is logged in at any given time.

Is there a way to do this?

BKM

2 Likes

Hi,
I haven’t tested yet, but have you tried with new Frappe Chat app?

The new Frappe Chat app makes you create a chat room before it does anything else. It then makes you enter the chat room before you can try to connect to other users.

I never got past the creating of a chat room. I don’t want to have a ton of steps to go through to use something as simple as chat. I want to even less to see a list of logged in users.

Anybody know how to see logged in users in v13???

BKM

one idea:
seems there is some tabSession (see frappe/sessions.py at version-13 · frappe/frappe · GitHub ) I would assume this holds all active (?) session.

If correct, a server script that somehow reads from this table should be able to provide this info.
frappe.db.sql(“”"SELECT user FROM tabISession WHERE …)