2012-05-30 20:48:24 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2012-03-13 05:14:45 +04:00
|
|
|
// What to do when starting up
|
|
|
|
// 0 = do not connect / show the account manager
|
|
|
|
// 1 = connect automatically
|
|
|
|
// Other values will be added later, for example to start minimized
|
|
|
|
pref("messenger.startup.action", 1);
|
|
|
|
|
|
|
|
pref("messenger.accounts", "");
|
|
|
|
|
|
|
|
// Should the accounts service stored in the password manager the
|
|
|
|
// passwords that are currently stored in the preferences?
|
|
|
|
pref("messenger.accounts.convertOldPasswords", false);
|
|
|
|
|
|
|
|
// The intervals in seconds between automatic reconnection attempts.
|
|
|
|
// The last value will be reused for the rest of the reconnection attempts.
|
|
|
|
// A value of 0 means that there will be no more reconnection attempts.
|
|
|
|
pref("messenger.accounts.reconnectTimer", "1,5,30,60,90,300,600,1200,3600");
|
|
|
|
|
2013-04-16 03:28:25 +04:00
|
|
|
// Maximum number of messages in debug logs.
|
|
|
|
// 0 = keep all messages
|
|
|
|
pref("messenger.accounts.maxDebugMessages", 200);
|
|
|
|
|
2012-03-13 05:14:45 +04:00
|
|
|
// List of tags ids whose contacts should be shown in the special
|
|
|
|
// "Other contacts" group.
|
|
|
|
pref("messenger.buddies.hiddenTags", "");
|
|
|
|
|
|
|
|
// 1 accepts invitations automatically,
|
|
|
|
// 0 ignores the invitations,
|
|
|
|
// -1 rejects the invitations.
|
|
|
|
pref("messenger.conversations.autoAcceptChatInvitations", 1);
|
|
|
|
|
|
|
|
// Indicates whether the core should always close conversations closed
|
|
|
|
// by the UI or if they can be put on hold instead.
|
|
|
|
pref("messenger.conversations.alwaysClose", false);
|
|
|
|
|
2014-10-31 22:50:30 +03:00
|
|
|
// Put conversations with contacts on hold by default (i.e. match the default
|
|
|
|
// behavior for MUCs) as long as .alwaysClose is not true.
|
|
|
|
pref("messenger.conversations.holdByDefault", false);
|
|
|
|
|
2012-03-13 05:14:45 +04:00
|
|
|
pref("messenger.conversations.selections.magicCopyEnabled", true);
|
|
|
|
pref("messenger.conversations.selections.ellipsis", "chrome://chat/locale/conversations.properties");
|
|
|
|
pref("messenger.conversations.selections.systemMessagesTemplate", "chrome://chat/locale/conversations.properties");
|
|
|
|
pref("messenger.conversations.selections.contentMessagesTemplate", "chrome://chat/locale/conversations.properties");
|
|
|
|
pref("messenger.conversations.selections.actionMessagesTemplate", "chrome://chat/locale/conversations.properties");
|
|
|
|
|
|
|
|
pref("messenger.conversations.textbox.autoResize", true);
|
|
|
|
pref("messenger.conversations.textbox.defaultMaxLines", 5);
|
|
|
|
|
|
|
|
pref("messenger.conversations.sendFormat", true);
|
|
|
|
|
|
|
|
// this preference changes how we filter incoming messages
|
|
|
|
// 0 = no formattings
|
|
|
|
// 1 = basic formattings (bold, italic, underlined)
|
|
|
|
// 2 = permissive mode (colors, font face, font size, ...)
|
|
|
|
pref("messenger.options.filterMode", 2);
|
|
|
|
|
|
|
|
// use "none" to disable
|
|
|
|
pref("messenger.options.emoticonsTheme", "default");
|
|
|
|
pref("messenger.options.messagesStyle.theme", "bubbles");
|
|
|
|
pref("messenger.options.messagesStyle.variant", "default");
|
|
|
|
pref("messenger.options.messagesStyle.showHeader", false);
|
|
|
|
pref("messenger.options.messagesStyle.combineConsecutive", true);
|
|
|
|
// if the time interval in seconds between two messages is longer than
|
|
|
|
// this value, the messages will not be combined
|
|
|
|
pref("messenger.options.messagesStyle.combineConsecutiveInterval", 300); // 5 minutes
|
|
|
|
|
|
|
|
pref("messenger.status.reportIdle", true);
|
|
|
|
pref("messenger.status.timeBeforeIdle", 300); // 5 minutes
|
|
|
|
pref("messenger.status.awayWhenIdle", true);
|
|
|
|
pref("messenger.status.defaultIdleAwayMessage", "chrome://chat/locale/status.properties");
|
|
|
|
pref("messenger.status.userIconFileName", "");
|
|
|
|
pref("messenger.status.userDisplayName", "");
|
|
|
|
|
|
|
|
// Default message used when quitting IRC. This is overridable per account.
|
|
|
|
pref("chat.irc.defaultQuitMessage", "");
|
2014-01-16 20:12:43 +04:00
|
|
|
// If this is true, requestRooomInfo will return LIST results when it is
|
|
|
|
// called automatically by the awesometab. Otherwise, requestRoomInfo will
|
|
|
|
// only do so when explicitly requested by the user, e.g. via the /list command.
|
2014-10-23 06:22:21 +04:00
|
|
|
pref("chat.irc.automaticList", true);
|
2016-08-05 18:19:48 +03:00
|
|
|
// Whether to enable or disable message carbons protocol (XEP-0280).
|
|
|
|
pref("chat.xmpp.messageCarbons", true);
|
2015-02-15 01:10:23 +03:00
|
|
|
// Disable Skype until it can be tested further.
|
|
|
|
pref("chat.prpls.prpl-skype.disable", true);
|
2016-01-29 22:45:20 +03:00
|
|
|
// Disable Facebook as the XMPP gateway no longer exists.
|
|
|
|
pref("chat.prpls.prpl-facebook.disable", true);
|
2017-03-02 16:30:00 +03:00
|
|
|
// Disable experimental Matrix support.
|
|
|
|
pref("chat.prpls.prpl-matrix.disable", true);
|
2016-11-09 18:15:16 +03:00
|
|
|
// Disable Yahoo Messenger as legacy Yahoo was shut down.
|
|
|
|
pref("chat.prpls.prpl-yahoo.disable", true);
|
2016-05-14 14:59:00 +03:00
|
|
|
// Whether to disable SRV lookups that use the system DNS library.
|
|
|
|
pref("chat.dns.srv.disable", false);
|
2016-12-01 22:24:00 +03:00
|
|
|
// Disable JavaScript in browser requests.
|
|
|
|
pref("chat.browserRequest.disableJavascript", false);
|
2012-03-13 05:14:45 +04:00
|
|
|
|
|
|
|
// loglevel is the minimum severity level that a libpurple message
|
|
|
|
// must have to be reported in the Error Console.
|
|
|
|
//
|
|
|
|
// The possible values are:
|
|
|
|
// 0 Show all libpurple messages (PURPLE_DEBUG_ALL)
|
|
|
|
// 1 Very verbose (PURPLE_DEBUG_MISC)
|
|
|
|
// 2 Verbose (PURPLE_DEBUG_INFO)
|
|
|
|
// 3 Show warnings (PURPLE_DEBUG_WARNING)
|
|
|
|
// 4 Show errors (PURPLE_DEBUG_ERROR)
|
|
|
|
// 5 Show only fatal errors (PURPLE_DEBUG_FATAL)
|
|
|
|
|
|
|
|
// Setting the loglevel to a value smaller than 2 will cause messages
|
|
|
|
// with an INFO or MISC severity to be displayed as warnings so that
|
|
|
|
// their file URL is clickable
|
|
|
|
#ifndef DEBUG
|
|
|
|
// By default, show only warning and errors
|
|
|
|
pref("purple.debug.loglevel", 3);
|
|
|
|
#else
|
|
|
|
// On debug builds, show warning, errors and debug information.
|
|
|
|
pref("purple.debug.loglevel", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
pref("purple.logging.format", "json");
|
|
|
|
pref("purple.logging.log_chats", true);
|
|
|
|
pref("purple.logging.log_ims", true);
|
|
|
|
pref("purple.logging.log_system", true);
|
2014-12-19 18:54:36 +03:00
|
|
|
|
|
|
|
// Send typing notification in private conversations.
|
2015-01-14 21:14:12 +03:00
|
|
|
pref("purple.conversations.im.send_typing", true);
|