function handleStreamUpate(message) {

        // check to see if this update is from us in this session
        // the first 8 bytes of the ID is sent in the message, so compare against just those bytes
        if (session.id.indexOf(message.macId) === 0) {

            // update by my own self in this browser - no op

        } else {

            switch (message.object) {

                case 'projects':
                    updateProjects(message);
                    break;

                case 'project':
                    updateProject(message);
                    break;

                case 'tasks':
                    updateTasks(message);
                    break;

                case 'task':
                    updateTask(message);
                    break;

                case 'details':
                    updateDetails(message);
                    break;

                case 'profile':
                case 'user':
                    updateProfile(message);
                    break;

                case 'contacts':
                    updateContacts(message);
                    break;

                case 'tips':
                    updateTips(message);
                    break;

                case 'suggestions':
                    updateSuggestions(message);
                    break;

                // also not used 'storage', 'prefs' ...    

            }

        }

    }
// handle update message from stream socket
handle update message from stream socket
handle update message from stream socket
function handleStreamUpate(message) {
        if (session.id.indexOf(message.macId) === 0) {
        } else {
            switch (message.object) {
                case 'projects':
                    updateProjects(message);
                    break;
                case 'project':
                    updateProject(message);
                    break;
                case 'tasks':
                    updateTasks(message);
                    break;
                case 'task':
                    updateTask(message);
                    break;
                case 'details':
                    updateDetails(message);
                    break;
                case 'profile':
                case 'user':
                    updateProfile(message);
                    break;
                case 'contacts':
                    updateContacts(message);
                    break;
                case 'tips':
                    updateTips(message);
                    break;
                case 'suggestions':
                    updateSuggestions(message);
                    break;
            }
        }
    }
function handleStreamUpate ( message ) { if ( session . id . indexOf ( message . macId ) === 0 ) { } else { switch ( message . object ) { case 'projects' : updateProjects ( message ) ; break ; case 'project' : updateProject ( message ) ; break ; case 'tasks' : updateTasks ( message ) ; break ; case 'task' : updateTask ( message ) ; break ; case 'details' : updateDetails ( message ) ; break ; case 'profile' : case 'user' : updateProfile ( message ) ; break ; case 'contacts' : updateContacts ( message ) ; break ; case 'tips' : updateTips ( message ) ; break ; case 'suggestions' : updateSuggestions ( message ) ; break ; } } }
handle update message from stream socket
handle update message from stream socket
// check to see if this update is from us in this session // the first 8 bytes of the ID is sent in the message, so compare against just those bytes // update by my own self in this browser - no op // also not used 'storage', 'prefs' ...    