aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service
diff options
context:
space:
mode:
authorDanny van Heumen <danny@dannyvanheumen.nl>2015-01-04 21:34:47 +0100
committerDanny van Heumen <danny@dannyvanheumen.nl>2015-01-04 21:34:47 +0100
commit31f7fb02a0f4c8c175bd9a3752021e5ec0e04805 (patch)
tree47bf7055350b096052774a09aa63a4c83482bb84 /src/net/java/sip/communicator/service
parent19704ebffd6460243785947ed16cb342fdba08a9 (diff)
downloadjitsi-31f7fb02a0f4c8c175bd9a3752021e5ec0e04805.zip
jitsi-31f7fb02a0f4c8c175bd9a3752021e5ec0e04805.tar.gz
jitsi-31f7fb02a0f4c8c175bd9a3752021e5ec0e04805.tar.bz2
Increased chat message buffer from 3000 to 50000.
Increased the buffer to ensure that the buffer is reasonable sufficient for a reading back a decent conversation. The buffer value represents the number of chars of "user data" stored in the HTML document. I suspect things such as attribute data is also considered user data. Therefore there is quite a "penalty" on keeping the original message stored in an attribute, encoded in base64.
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r--src/net/java/sip/communicator/service/gui/Chat.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/service/gui/Chat.java b/src/net/java/sip/communicator/service/gui/Chat.java
index a256291..14c72fc 100644
--- a/src/net/java/sip/communicator/service/gui/Chat.java
+++ b/src/net/java/sip/communicator/service/gui/Chat.java
@@ -66,7 +66,7 @@ public interface Chat
* The size of the buffer that indicates how many messages will be stored
* in the conversation area in the chat window.
*/
- public static final int CHAT_BUFFER_SIZE = 3000;
+ public static final int CHAT_BUFFER_SIZE = 50000;
/**
* Checks if this <tt>Chat</tt> is currently focused.