| 243 | } |
| 244 | |
| 245 | void IMAPAsyncConnection::setClientIdentity(IMAPIdentity * identity) |
| 246 | { |
| 247 | MC_SAFE_REPLACE_COPY(IMAPIdentity, mClientIdentity, identity); |
| 248 | mSession->clientIdentity()->removeAllInfos(); |
| 249 | if (identity != NULL) { |
| 250 | mc_foreacharray(String, key, identity->allInfoKeys()) { |
| 251 | mSession->clientIdentity()->setInfoForKey(key, identity->infoForKey(key)); |
| 252 | } |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | IMAPIdentity * IMAPAsyncConnection::clientIdentity() |
| 257 | { |
nothing calls this directly
no test coverage detected