Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Config_example.txt - github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d0b71f97ff954573daf74caa09eb73db8bccc0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# coding: utf

## Connection host.
## For Prosody "vk.example.com"
Host = "localhost"

## Connection server (usually equals host)
## For Prosody "example.com"
Server = "localhost" 

## Connection port (as you set in your jabber-server config)
## Default value for Prosody is 5347
Port = 5556

## Transport ID (Controls all)
TransportID = "vk.example.com"

## Connection password.
Password = "secret"

## Database file (as you like)
DatabaseFile = "users.db"

## Default status (1 — online (recommented) / 0 — offline) 
DefaultStatus = 1

## Use API feature lastMessageID (transport will save last user message id, 1 — use (recommented), 2 — not use)
UseLastMessageID = 1

## Language (ru/en)
DefLang = "ru"

## Photo size (photo_50, photo_100, photo_200_orig)
PhotoSize = "photo_100"

## White list. Put here servers which you want allow to access transport. F.e.: ['yourserver1.tld','yourserver2.tld']
## Save it as [] if you won't block any servers.
WhiteList = []

## Watcher list. Put here jid(s) of transport admin for notifications of registration. F.e.: ['admin@yourserver1.tld','name@yourserver2.tld']
## Save it as [] if you won't watch any registration.
WatcherList = []

# Additional about text. It was shown after main about text in transports vcard.
AdditionalAbout = ""

# Conference server. Don't change if you won't allow your users to use groupchats (depends from jabber-server's MUC)
# It's an alpha! Testers are welcome, but don't use it everytime!
# F.e. conference.example.com
ConferenceServer = ""

# Users limit. How much users can be stored on your server?
# Save as 0 if you won't limit registrations.
USER_LIMIT = 0

#! Edit next settings ONLY IF YOU KNOW WHAT ARE YOU DOING! DEFAULT VALUES ARE RECOMMENTED!
## Thread stack size (WARNING: MAY CAUSE TRANSPORT CRASH WITH SEGMENTATION FAULT ERROR)
## It needed for optimize memory consuming.
## minimum value is 32768 bytes (32kb)
THREAD_STACK_SIZE = 0

## Timeout when user considered inactive (seconds)
USER_CONSIDERED_ACTIVE_IF_LAST_ACTIVITY_LESS_THAN = 120

## Max roster update timeout (when user inactive, seconds)
MAX_ROSTER_UPDATE_TIMEOUT = 180

## Default roster update timeout (when user is active)
ROSTER_UPDATE_TIMEOUT = 6

## Image that will be used if transport can't recieve image from VK.
URL_VCARD_NO_IMAGE = "http://simpleapps.ru/vk4xmpp.png"

## Debug xmpppy library
DEBUG_XMPPPY = False

## Eval jid. jid for command "!eval"
evalJID = ""

## Maximum forwarded messages depth.
MAXIMUM_FORWARD_DEPTH = 5