webex/react-widgets

spaces widget ignores false activities

levensailor opened this issue · 2 comments

I only want a web app to be messages capable, so I have all other activities set as false, however I still get the waffle, I still see the options, and I tried a test call and it was functional.

      $("#btn").click(function () {
        var widgetEl = document.getElementById('my-webexteams-widget');
        $.ajax({
          url: '/api/getSession',
          type: 'POST',
          contentType: 'application/json',
          data: JSON.stringify({
            name: $("#name").val()
          })
        }).done(function (session) {
          ciscospark.widget(widgetEl).spaceWidget({
            guestToken: session.guestToken,
            destinationId: session.agent,
            destinationType: "userId",
            activities: {
              "files": false,
              "meet": false,
              "message": true,
              "people": false
            },
            initialActivity: 'message',
            secondaryActivitiesFullWidth: false
          });
        })
      })
    })```

I tried adding composerActions as well - same results - using latest

ciscospark.widget(widgetEl).spaceWidget({
    guestToken: session.guestToken,
    destinationId: session.agent,
    destinationType: "userId",
    activities: {
        files: false,
        meet: false,
        message: true,
        people: false
    },
    composerActions: {
        files: false,
        meet: false,
        message: true,
        people: false
    },
    initialActivity: 'message',
    secondaryActivitiesFullWidth: false
});

Please contact developer support at https://developer.webex.com/support for further assistance with this issue.