From 8ba0b939752c0b348decc908fcfdc738ea54bd28 Mon Sep 17 00:00:00 2001 From: "putterman%netscape.com" Date: Sat, 26 Aug 2000 20:45:49 +0000 Subject: [PATCH] Fix for 44834. Unsubscribe works when hitting delete button or delete menu item when a newsgroup is selected. r=bienvenu. --- mailnews/news/src/nsNewsFolder.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mailnews/news/src/nsNewsFolder.cpp b/mailnews/news/src/nsNewsFolder.cpp index ecb4b7b2496..8b7cf5164f1 100644 --- a/mailnews/news/src/nsNewsFolder.cpp +++ b/mailnews/news/src/nsNewsFolder.cpp @@ -587,7 +587,9 @@ NS_IMETHODIMP nsMsgNewsFolder::Delete() rv = nntpServer->RemoveNewsgroup((const char *)name); if (NS_FAILED(rv)) return rv; - return NS_OK; + rv = SetNewsrcHasChanged(PR_TRUE); + + return rv; } NS_IMETHODIMP nsMsgNewsFolder::Rename(const PRUnichar *newName)