diff options
author | mrDoctorWho <mrdoctorwho@gmail.com> | 2015-03-21 20:15:39 +0300 |
---|---|---|
committer | mrDoctorWho <mrdoctorwho@gmail.com> | 2015-03-21 20:15:39 +0300 |
commit | b7a74a5c7b74236c7f8e163db547724fafb74c3f (patch) | |
tree | 93bb7a77ae8f16484de2fe3ec0b9c874d34c6cb0 | |
parent | e91d4b8df9820bd60b073f10b769bc8010bfa93a (diff) |
Added default variables to the main config file
-rw-r--r-- | Config_example.txt | 2 | ||||
-rw-r--r-- | extensions/groupchats.py | 2 | ||||
-rw-r--r-- | gateway.py | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/Config_example.txt b/Config_example.txt index 1e76e08..dfd1d76 100644 --- a/Config_example.txt +++ b/Config_example.txt @@ -106,7 +106,7 @@ DEBUG_API = [] ## VK4XMPP Monitor settings -## The server where the requests will come from +## The server where the stats requests will come from VK4XMPP_MONITOR_SERVER = "anon.xmppserv.ru" ## The URL where transport should send POST requests with it's name diff --git a/extensions/groupchats.py b/extensions/groupchats.py index 146c3b1..b848d91 100644 --- a/extensions/groupchats.py +++ b/extensions/groupchats.py @@ -529,4 +529,4 @@ if isdef("ConferenceServer") and ConferenceServer: else: del sendIQ, makeMember, makeOutcast, inviteUser, joinChat, leaveChat, \ outgoingChatMessageHandler, chatMessage, Chat, \ - incomingChatMessageHandler, handleChatErrors, handleChatPresences, exterminateChats, initGroupchatsTable, cleanTheChatsUp, initChatExtension + incomingChatMessageHandler, handleChatErrors, handleChatPresences, exterminateChats, cleanTheChatsUp, initChatExtension @@ -106,6 +106,8 @@ evalJID = "" AdditionalAbout = "" ConferenceServer = "" URL_ACCEPT_APP = "http://jabberon.ru/vk4xmpp.html#%d" +VK4XMPP_MONITOR_SERVER = "anon.xmppserv.ru" +VK4XMPP_MONITOR_URL = "http://xmppserv.ru/xmpp-monitor/hosts.php" allowBePublic = True startTime = int(time.time()) |