Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Display "last seen" information for not online users

Open rockneverdies55 opened this issue 11 years ago • 15 comments

I think it's sometimes useful to know since when user was not online.

Support for displaying the last time user was seen online would be nice to have feature.

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

rockneverdies55 avatar Sep 16 '15 21:09 rockneverdies55

:+1:

k0nsl avatar Sep 16 '15 21:09 k0nsl

That's available for admins. Not too hard to make it available for all.

marceloschmidt avatar Sep 17 '15 01:09 marceloschmidt

+1

cyclops24 avatar Oct 08 '17 04:10 cyclops24

@rockneverdies55 This issue should already be provided when open the permission view-full-other-user-info

ccfang avatar Nov 20 '17 07:11 ccfang

@rocket-cat close

Hi @rockneverdies55

Support for displaying the last time user was seen online would be nice to have feature.

I'm not sure, whether there exists data collection to provide you with the time a person was last active. Currently the time that can be seen by getting assigned the view-full-other-user-info privilege is taken from MongoDB collection users, the attribute (dunno if that's the correct terminology) is called lastLogin and reflects the last actual successfull login process.

So I think the "feature" you requested already exists. If you do not agree, please let me know :)

Cheers Thomas

TwizzyDizzy avatar Feb 09 '18 09:02 TwizzyDizzy

"Last seen" or "last online" time is not last login time. Users may have open sessions for days or weeks. Many messaging platforms (e.g whatsapp or telegram) provide precise last online time (e.g 3 minutes ago).

@TwizzyDizzy This is a separate feature (and also may need server side implementation to store last online time in a high-write-capable db, e.g redis). I think the issue can be reopened (and should not have subj: ui/ux tag).

tahajahangir avatar Jun 09 '18 05:06 tahajahangir

This should really be reopened. Last seen is very, very useful for teams!

Last login is not accurate to last seen, last seen should be based on something like our autoaway, not session logins, durations, etc.

Furthermore, we need to keep from abusing view-full-other-user-info. I can't stress this enough, but that permissions is an insecure overkill. Using that permission, you can for example find out whether someone is "invisible" or actually offline. Something you really don't want!!

vynmera avatar Jun 09 '18 09:06 vynmera

Hi, I have a question where do you see user info if view-full-other-user-info is turned on. As for me, I don't see the last login details of the user on user info.

Tayyaba03 avatar Jan 10 '19 07:01 Tayyaba03

This indeed should be reopened. Humans tend to be reachable in multiple ways, and this indicator is a easy and rather reliable way to tell when the other person will be online again. "Last seen 7 months ago"? Ah, better write a mail. "Last seen 3 hours ago"? Great, they actually use our group's slack instance!

From what I gather, the info is already there in the database, and users can easily opt-out by setting their status to "invisible". What's stopping this feature? Just lack of motivated implementers, or something else?

BenWiederhake avatar Feb 20 '19 19:02 BenWiederhake

Please reopen this issue, it is really necessery. We want to know if the users actually use our chat

dormeiri avatar Jun 06 '19 05:06 dormeiri

+1

0xHexE avatar Jun 24 '19 20:06 0xHexE

+1

app-dev-198 avatar Sep 20 '19 04:09 app-dev-198

+1

m-roshani avatar Oct 02 '19 07:10 m-roshani

I confirme, the only way to know for me is scraping my nginx logs and match IP with rocketchat users ...

pokapow avatar May 14 '20 15:05 pokapow

This indeed should be reopened. Humans tend to be reachable in multiple ways, and this indicator is a easy and rather reliable way to tell when the other person will be online again. "Last seen 7 months ago"? Ah, better write a mail. "Last seen 3 hours ago"? Great, they actually use our group's slack instance!

From what I gather, the info is already there in the database, and users can easily opt-out by setting their status to "invisible". What's stopping this feature? Just lack of motivated implementers, or something else?

+1

DocSauer avatar Apr 11 '23 13:04 DocSauer