diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-19 01:51:50 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-19 01:51:50 +0200 |
commit | 1235e3daca59d107e663319fc72e800ed94378bd (patch) | |
tree | bb98b6038db1a7a70d6079e97ffee23172e31f6f /src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java | |
parent | 5c0873c7cab8bdb95754f4a67839aa6ed5a3d2e8 (diff) |
fixed default autoaccept file size and wrongly marked message
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java b/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java index 44af51a3..a45ebb76 100644 --- a/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java +++ b/src/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java @@ -120,11 +120,11 @@ public class JingleConnectionManager { } public long getAutoAcceptFileSize() { - String config = this.xmppConnectionService.getPreferences().getString("auto_accept_file_size", "0"); + String config = this.xmppConnectionService.getPreferences().getString("auto_accept_file_size", "524288"); try { return Long.parseLong(config); } catch (NumberFormatException e) { - return 0; + return 524288; } } } |