im trying to output the status of users based on i...
# support-questions-legacy
f
im trying to output the status of users based on if they are online.
r
hey @fayzul_
whats the logic that you have implemented?
f
hey
then when i signout ....
r
so if session is None, then it means that the user has logged out.
so in your filter, you are doing
user_id=user_id
. So where are you getting that user_id from?
f
lemme show you
r
see your code.. the else branch deosn't init the user_id. And there is no way for you to know the user_id cause there is no session
f
🤦‍♂️
true
tnx rp
might have to rework the whole thing
r
Yup