Browse Source

Switch to nsIFileProtocolHandler.getURLSpecFromActualFile() for compatibility with TB 94 beta.

master
Jörg Knobloch 3 months ago
parent
commit
962412ef6f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      addon/content/sendMessage.js

+ 1
- 1
addon/content/sendMessage.js View File

@ -34,7 +34,7 @@ function locationForContent(content) {
var fileHandler = Services.io
.getProtocolHandler("file")
.QueryInterface(Ci.nsIFileProtocolHandler);
return fileHandler.getURLSpecFromFile(file);
return fileHandler.getURLSpecFromActualFile(file);
}
function convertAttachment(pep) {


Loading…
Cancel
Save