예제 #1
0
def user_connected(message):
    join_room(message['game_id'])
    GM.add_connection(request.sid, message['game_id'], message['user_type'],
                      message['email'])
    connection_data = GM.gather_connections()
    emit('connections', dict(connection_data), broadcast=True)