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

Uploads to Telegram are turning up as "matrix_uploadNone" #376

Closed
Half-Shot opened this issue Oct 31, 2019 · 1 comment
Closed

Uploads to Telegram are turning up as "matrix_uploadNone" #376

Half-Shot opened this issue Oct 31, 2019 · 1 comment
Labels
bug: defect Something isn't working and it never has worked
Milestone

Comments

@Half-Shot
Copy link
Contributor

The file in question is a .gcode file. Can be found at: https://matrix.half-shot.uk/_matrix/media/r0/download/half-shot.uk/476b861d11c418a29e30a4b5992169753697aef5

{
  "content": {
    "body": "dogtag.gcode",
    "info": {
      "mimetype": "text/x.gcode",
      "size": 42963
    },
    "msgtype": "m.file",
    "url": "mxc://half-shot.uk/476b861d11c418a29e30a4b5992169753697aef5"
  },
  "origin_server_ts": 1572558277412,
  "sender": "@Half-Shot:half-shot.uk",
  "type": "m.room.message",
  "unsigned": {
    "age": 1187,
    "transaction_id": "m1572558277263.384"
  },
  "event_id": "$JJPjoJRUZiLeF--PulfxAn7zCHVNhowGr3rnesFMc4M",
  "room_id": "!BxtwhBeTBeKpPsUVba:half-shot.uk"
}
@tulir tulir added the bug: defect Something isn't working and it never has worked label Nov 1, 2019
@tulir tulir added this to the 0.7.0 milestone Nov 1, 2019
@tulir
Copy link
Member

tulir commented Nov 1, 2019

This was a bug/feature until very recently: it tried to intelligently use the body as either caption or filename depending on extension. I dropped the caption stuff and added a !tg caption command until Matrix gets proper captions.

Specifically, this was fixed in 22f6a12

@tulir tulir closed this as completed Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: defect Something isn't working and it never has worked
Development

No branches or pull requests

2 participants