mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Fixed another trivial bug in BookmarkSharingManager._stopSharing that was making it fail at sending out the xmpp notification.
This commit is contained in:
parent
0de5281660
commit
47bc8eddcb
@ -267,13 +267,12 @@ BookmarksSharingManager.prototype = {
|
||||
let self = yield;
|
||||
dump("folderId is " + folderId + "\n");
|
||||
let folderName = this._bms.getItemTitle(folderId);
|
||||
let serverPath = "";
|
||||
|
||||
if (this._annoSvc.itemHasAnnotation(folderId, SERVER_PATH_ANNO)){
|
||||
let serverPath = this._annoSvc.getItemAnnotation(folderId,
|
||||
SERVER_PATH_ANNO);
|
||||
serverPath = this._annoSvc.getItemAnnotation(folderId, SERVER_PATH_ANNO);
|
||||
} else {
|
||||
this._log.warn("The folder you are de-sharing has no path annotation.");
|
||||
let serverPath = "";
|
||||
}
|
||||
|
||||
/* LONGTERM TODO: when we move to being able to share one folder with
|
||||
|
Loading…
Reference in New Issue
Block a user