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:
Axel Dörfler
2015-01-06 15:26:19 +01:00
parent 8705e1f6e7
commit e9a197ffff
2 changed files with 8 additions and 0 deletions
@@ -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;