Skip to content

Commit

Permalink
fix: Attachment URL parsing (#743)
Browse files Browse the repository at this point in the history
* fix: update attachment url parsing

* bump version, update changelog
  • Loading branch information
obogdanov-entrypoint authored Feb 2, 2023
1 parent 5e26fea commit edd1bee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# Changelog

## Version 1.1.7

- Fix for `api.tools.parse_attachment_url`.

## Version 1.1.6

- Better fix for `view_thread` event not triggeriong, by @cancan101.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gmail-js",
"version": "1.1.6",
"version": "1.1.7",
"description": "JavaScript API for Gmail (useful for chrome extensions)",
"main": "src/gmail.js",
"types": "src/gmail.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/gmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -1953,7 +1953,7 @@ var Gmail = function(localJQuery) {
var parts = url.split(":");
return {
type: parts[0],
url: parts[2] + ":" + parts[3]
url: parts[2] + ":" + parts[4] + ":" + parts[5]
};
};

Expand Down

0 comments on commit edd1bee

Please sign in to comment.