add: var nntpServer; try { nntpServer = server.QueryInterface(Components.interfaces.nsINntpIncomingServer);  if (nntpServer) nntpServer.writeNewsrcFile(); } catch (ex) {  } 
context: function SubscribeOKCallback(serverURI, changeTable){	//dump("in SubscribeOKCallback(" + serverURI +")\n");	//dump("change table = " + changeTable + "\n");		var folder = GetMsgFolderFromUri(serverURI);	var server = folder.server;	var subscribableServer =        server.QueryInterface(Components.interfaces.nsISubscribableServer);	for (var name in changeTable) {		//dump(name + " = " + changeTable[name] + "\n");		if (changeTable[name] == true) {			//dump("from js, subscribe to " + name +"\n");			subscribableServer.subscribe(name);		}		else if (changeTable[name] == false) {			//dump("from js, unsubscribe to " + name +"\n");			subscribableServer.unsubscribe(name);		}		else {			//dump("no change to " + name + "\n");		}	}    try {        var imapServer =            server.QueryInterface(Components.interfaces.nsIImapIncomingServer);        if (imapServer)            imapServer.reDiscoverAllFolders();    }    catch (ex) {        //dump("*** not an imap server\n");    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7aac02860d96efe247902974f0e7c34d7e220510/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js