aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-04-19 11:18:07 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-04-19 11:18:07 -0700
commita69f1e846de80aee75f0b20a7e4a3d4cc234da9a (patch)
tree80cbb6278cb20181a4dd53cbd1bfb61bc3b1d78f /src/objc
parent8c24f9ed272d2a7494561aa77344e9b7b0c7756f (diff)
Mark methods as deprecated
Diffstat (limited to 'src/objc')
-rwxr-xr-xsrc/objc/imap/MCOIMAPSession.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/objc/imap/MCOIMAPSession.h b/src/objc/imap/MCOIMAPSession.h
index 660c896d..f364c159 100755
--- a/src/objc/imap/MCOIMAPSession.h
+++ b/src/objc/imap/MCOIMAPSession.h
@@ -90,8 +90,14 @@
/** The identity of the IMAP server. */
@property (nonatomic, strong, readonly) MCOIMAPIdentity * serverIdentity;
-/** Display name of the Gmail user. It will be nil if it's not a Gmail server. */
-@property (nonatomic, copy, readonly) NSString * gmailUserDisplayName;
+/**
+ Display name of the Gmail user. It will be nil if it's not a Gmail server.
+
+ ** DEPRECATED **
+ This attribute has been broken by Gmail IMAP server. It's not longer available
+ as a correct display name.
+*/
+@property (nonatomic, copy, readonly) NSString * gmailUserDisplayName DEPRECATED_ATTRIBUTE;
/**
When set to YES, the session is allowed open to open several connections to the same folder.