Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"File Uploaded" in chat.postMessage API Calls #7645

Closed
rdnn opened this issue Aug 3, 2017 · 0 comments · Fixed by #7652
Closed

"File Uploaded" in chat.postMessage API Calls #7645

rdnn opened this issue Aug 3, 2017 · 0 comments · Fixed by #7652

Comments

@rdnn
Copy link

rdnn commented Aug 3, 2017

Description:

Commit b84d068 modified packages/rocketchat-message-attachments/client/messageAttachment.html which prepends i18n "Attachment_File_Uploaded" to the title of chat.postMessage API calls which do not necessarily have actual file attachments.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.59.0-develop
  • Operating System: FreeBSD 11.0-RELEASE-p2
  • Deployment Method(snap/docker/tar/etc): tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: No
  • Node Version: 4.8.3

Steps to Reproduce:

  1. POST chat.postMessage with the following payload:
{
  "icon_emoji": ":robot:",
  "channel": "#projectmanagement",
  "attachments": [
    {
      "collapsed": false,
      "title": "[ProjectName] Task \"Test Task\" moved to Complete",
      "title_link": "https://test.link/projectId=12345",
      "text": "Line 1\nLine 2"
    }
  ]
}

Expected behavior:

expected

Actual behavior:

actual

Relevant logs:

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants