IMAP: make the body fetch limit setting available.
* This is set by the ProtocolConfigView -- there should really be some constant for this.
This commit is contained in:
@@ -101,3 +101,10 @@ Settings::IdleMode() const
|
||||
{
|
||||
return fMessage.GetBool("idle", true);
|
||||
}
|
||||
|
||||
|
||||
int32
|
||||
Settings::BodyFetchLimit() const
|
||||
{
|
||||
return fMessage.GetInt32("partial_download_limit", -1);
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ public:
|
||||
|
||||
int32 MaxConnections() const;
|
||||
bool IdleMode() const;
|
||||
int32 BodyFetchLimit() const;
|
||||
|
||||
private:
|
||||
const BMessage fMessage;
|
||||
|
||||
Reference in New Issue
Block a user