'Build communication server inputs.'

@expose_api
def get_communication(self, trans, id, payload={}, **kwd):

    user = self._get_user(trans, id)
    return {'message': 'Communication    server    settings    unchanged.', 'inputs': [{'name': 'enable', 'type': 'boolean', 'label': 'Enable    communication', 'value': user.preferences.get('communication_server', 'false')}]}
