mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-12-21 23:28:49 -05:00
Get NAMESPACE only the first time to login
The NAMESPACE doesn't need to be retrieved after each recovery.
This commit is contained in:
parent
fe5f789f8e
commit
64df3b0682
@ -237,7 +237,7 @@ request_login(session **ssnptr, const char *server, const char *port, const
|
||||
if (response_capability(ssn, t) == -1)
|
||||
goto fail;
|
||||
|
||||
if (ssn->capabilities & CAPABILITY_NAMESPACE &&
|
||||
if (!ssn->ns.delim && ssn->capabilities & CAPABILITY_NAMESPACE &&
|
||||
get_option_boolean("namespace")) {
|
||||
t = send_request(ssn, "NAMESPACE");
|
||||
if (response_namespace(ssn, t) == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user