Skip to content

Commit

Permalink
update the contact list after a user disconnects
Browse files Browse the repository at this point in the history
  • Loading branch information
ycinar committed Jun 20, 2013
1 parent aee76d1 commit 5aa28d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cinaryusuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ def post(self):

# If the disconnected user was in a call, send bye message to the other user
logging.warning('User ' + user + ' disconnected.')
time.sleep(3)
update_contact_lists()

class MessagePage(webapp2.RequestHandler):
def post(self):
Expand Down

0 comments on commit 5aa28d6

Please sign in to comment.