When throwing don't call method that might open an IMAP connection
This commit is contained in:
parent
6b54e8b65b
commit
874b06f415
1 changed files with 1 additions and 1 deletions
|
@ -1155,7 +1155,7 @@ internal class RealImapFolder(
|
|||
@Throws(MessagingException::class)
|
||||
private fun checkOpen() {
|
||||
if (!isOpen) {
|
||||
throw MessagingException("Folder $prefixedName is not open.")
|
||||
throw MessagingException("Folder $serverId is not open.")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue