aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/nntp
diff options
context:
space:
mode:
authorGravatar Robert Widmann <devteam.codafi@gmail.com>2014-10-21 15:49:43 -0600
committerGravatar Robert Widmann <devteam.codafi@gmail.com>2014-10-21 15:49:43 -0600
commitdb7ec6896ffa7e1072d814d02fee2c5abae22ff2 (patch)
treec7610e0d127ef23bc35bb1de0d52bcb924d6788a /src/async/nntp
parent53a1610d35f00301d933ea051b37b96fd30b0e93 (diff)
Clarify Subscribed vs Default
Diffstat (limited to 'src/async/nntp')
-rw-r--r--src/async/nntp/MCNNTPAsyncSession.cc2
-rw-r--r--src/async/nntp/MCNNTPAsyncSession.h2
-rw-r--r--src/async/nntp/MCNNTPListNewsgroupsOperation.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/async/nntp/MCNNTPAsyncSession.cc b/src/async/nntp/MCNNTPAsyncSession.cc
index 40993567..a290b8d3 100644
--- a/src/async/nntp/MCNNTPAsyncSession.cc
+++ b/src/async/nntp/MCNNTPAsyncSession.cc
@@ -191,7 +191,7 @@ NNTPListNewsgroupsOperation * NNTPAsyncSession::listAllNewsgroupsOperation()
return op;
}
-NNTPListNewsgroupsOperation * NNTPAsyncSession::listSubscribedNewsgroupsOperation()
+NNTPListNewsgroupsOperation * NNTPAsyncSession::listDefaultNewsgroupsOperation()
{
NNTPListNewsgroupsOperation * op = new NNTPListNewsgroupsOperation();
op->setSession(this);
diff --git a/src/async/nntp/MCNNTPAsyncSession.h b/src/async/nntp/MCNNTPAsyncSession.h
index c0d93fb2..d0fea2d0 100644
--- a/src/async/nntp/MCNNTPAsyncSession.h
+++ b/src/async/nntp/MCNNTPAsyncSession.h
@@ -58,7 +58,7 @@ namespace mailcore {
virtual NNTPFetchArticleOperation * fetchArticleOperation(String *groupName, unsigned int index);
virtual NNTPListNewsgroupsOperation * listAllNewsgroupsOperation();
- virtual NNTPListNewsgroupsOperation * listSubscribedNewsgroupsOperation();
+ virtual NNTPListNewsgroupsOperation * listDefaultNewsgroupsOperation();
virtual NNTPOperation * disconnectOperation();
diff --git a/src/async/nntp/MCNNTPListNewsgroupsOperation.cc b/src/async/nntp/MCNNTPListNewsgroupsOperation.cc
index 253b38d0..3747bacf 100644
--- a/src/async/nntp/MCNNTPListNewsgroupsOperation.cc
+++ b/src/async/nntp/MCNNTPListNewsgroupsOperation.cc
@@ -40,7 +40,7 @@ void NNTPListNewsgroupsOperation::main()
ErrorCode error;
if (mListsSuscribed) {
- mGroups = session()->session()->listSubscribedNewsgroups(&error);
+ mGroups = session()->session()->listDefaultNewsgroups(&error);
} else {
mGroups = session()->session()->listAllNewsgroups(&error);
}