im trying to output the status of users based on i...
# support-questions
s
im trying to output the status of users based on if they are online.
r
hey @shorthair_[]
whats the logic that you have implemented?
s
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?
s
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
s
🤦‍♂️
true
tnx rp
might have to rework the whole thing
r
Yup