Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#145 closed defect (fixed)

GetLoadedMessage() is deprecated

Reported by: absorbit@… Owned by:
Version: 0.6.0pre1 Keywords:
Cc:

Description

The function GetLoadedMessage?() is no longer available in thunderbird 3. Instead of

var srcMsgURI = GetLoadedMessage?();

you have to use

var srcMsgURI = gMessageDisplay.folderDisplay.selectedMessageUris[0];

Martin

Change History (4)

comment:1 Changed 10 years ago by rene

Resolution: fixed
Status: newclosed

Hi Martin,

was repaired but I'm not sure if it was checked in before I received your mail. Currently most of the time not connected, I'm developing offline. My solution was like this:

+ try { var srcMsgURI = gDBView.URIForFirstSelectedMessage; } catch (ex) { return; }

Thanks for the suggestion, if you think that your suggestion is for some reason a cleaner way to get the msgURI, feal free to comment this change. It is implemented like this in 0.6.0pre2

Regards, Rene

comment:2 Changed 10 years ago by anonymous

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin

Note: See TracTickets for help on using tickets.