You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To check whether a user is online, update the contact list and compare user_status["when"] with the current time. If the status is in the future, the contact is online right now.
then=peer.user_status["when"]
now=datetime.datetime.now()
ifthen>now:
# peer is onlinegreet_peer()