aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/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/objc/nntp
parent53a1610d35f00301d933ea051b37b96fd30b0e93 (diff)
Clarify Subscribed vs Default
Diffstat (limited to 'src/objc/nntp')
-rw-r--r--src/objc/nntp/MCONNTPSession.h8
-rw-r--r--src/objc/nntp/MCONNTPSession.mm4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/objc/nntp/MCONNTPSession.h b/src/objc/nntp/MCONNTPSession.h
index 8d12608b..8b632647 100644
--- a/src/objc/nntp/MCONNTPSession.h
+++ b/src/objc/nntp/MCONNTPSession.h
@@ -104,13 +104,13 @@
- (MCONNTPListNewsgroupsOperation *) listAllNewsgroupsOperation;
/**
- Returns an operation that will list all newsgroups subscribed to by the user.
+ Returns an operation that will list server-suggested default newsgroups.
- MCONNTPListNewsgroupsOperation * op = [session listSubscribedNewsgroupsOperation];
- [op start:^(NSError * error, NSArray * subscribedGroups) {
+ MCONNTPListNewsgroupsOperation * op = [session listDefaultNewsgroupsOperation];
+ [op start:^(NSError * error, NSArray * defaultGroups) {
}];
*/
-- (MCONNTPListNewsgroupsOperation *) listSubscribedNewsgroupsOperation;
+- (MCONNTPListNewsgroupsOperation *) listDefaultNewsgroupsOperation;
/**
Returns an operation that will disconnect the session.
diff --git a/src/objc/nntp/MCONNTPSession.mm b/src/objc/nntp/MCONNTPSession.mm
index 23e2e786..ed5bd81d 100644
--- a/src/objc/nntp/MCONNTPSession.mm
+++ b/src/objc/nntp/MCONNTPSession.mm
@@ -145,8 +145,8 @@ MCO_OBJC_SYNTHESIZE_SCALAR(dispatch_queue_t, dispatch_queue_t, setDispatchQueue,
return MCO_TO_OBJC_OP(coreOp);
}
-- (MCONNTPListNewsgroupsOperation *) listSubscribedNewsgroupsOperation {
- mailcore::NNTPListNewsgroupsOperation * coreOp = MCO_NATIVE_INSTANCE->listSubscribedNewsgroupsOperation();
+- (MCONNTPListNewsgroupsOperation *) listDefaultNewsgroupsOperation {
+ mailcore::NNTPListNewsgroupsOperation * coreOp = MCO_NATIVE_INSTANCE->listDefaultNewsgroupsOperation();
return MCO_TO_OBJC_OP(coreOp);
}