clarify 'online' users
This commit is contained in:
@@ -40,6 +40,7 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def online?
|
||||
# when you change this, change footer.html.erb as well!
|
||||
last_seen && last_seen > 2.minutes.ago
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user