Skip to content

Option unfurl_media=false doesn't work #21

@o5

Description

@o5

I need to disable unfurling, but when I use option unfurl_media: false, the image is still shown.

This code reproduces it:

var Slack = require('node-slack');
var config = {
    hook: 'https://hooks.slack.com/services/<token>',
    channel: '#<channel>',
};

var slack = new Slack(config.hook);
slack.send({
    text: 'This message should not display image https://d3blmjzegggclu.cloudfront.net/assets/images/front/camera-big.png?1439887878, but image is shown.',
    username: 'TEST',
    channel: config.channel,
    unfurl_links: false,
    unfurl_media: false,
});

Result:

screen shot 2015-08-26 at 11 16 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions