Skip to content

[IC3] Activity.attachments[].contentUrl should be used for allowing download attachments or not #2864

@compulim

Description

@compulim

Feature Request

Some channels allow end-users to download their uploaded files.

Designs

Using activity.attachments[].contentUrl to filter

Today:

  • Web Chat will not allow anyone to download any uploaded files
  • Direct Line channel will set "contentUrl" to a dummy URL

Tomorrow:

  • Web Chat Redux store will have a helper to filter out the dummy URL from Direct Line, and set contentUrl to empty
  • Web Chat will allow anyone to download any uploaded files, if the channel support it
    • activity.attachments[].contentUrl would be set to something other than falsy

[Enhancement]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions