This repository has been archived by the owner on Dec 22, 2021. It is now read-only.
forked from anewusername/mxpp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
66 lines (50 loc) · 1.91 KB
/
config.yaml
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
matrix:
server:
# Server's base url, without trailing /
base_url: 'https://matrix.org'
valid_cert_check: true
login:
# username is also used as the id that the bot will be known as
# (eg. to make sure it ignores its own messages)
# so make sure it's of the form @user:host
username: '@xmpp-bot-username:matrix.org'
password: '<my_matrix_password>'
# Users who will be invited to all of the bot's rooms
users_to_invite:
- '@owner:matrix.org'
# Topics set in the special rooms, used by the bot to recognize these rooms.
room_topics:
control: 'xmpp-bot-control'
all_chat: 'xmpp-bot-all_chat'
# Groupchats will have a topic starting with this string.
# Ideally, this should include some characters which are illegal in JIDs
# (e.g. <>*&') so that it won't ever be confused for a JID
groupchat_flag: '<groupchat>'
# should be false when you want to set names of rooms
restore_room_topic: true
xmpp:
server:
host: talk.google.com
port: 5222
login:
# JID should be of the form of [email protected]
jid: '[email protected]'
# If you use 2-factor auth with google, you'll need to generate an app password for here
password: '<myXMPPpassword>'
roster_options:
# Automatically accept any buddy requests
auto_authorize: true
# Automatically add and buddy who asks
auto_subscribe: true
groupchat_nick: 'my_groupchat_name'
# Send presence notices to the control channel
send_presences_to_control: true
# Send a copy of all messages to the all_chat channel
send_messages_to_all_chat: true
#only used if send_messages_to_all_chat is false
disable_all_chat_room: true
# Ignore any groupchat messages that were sent by our own nick
groupchat_mute_own_nick: true
# do not connect to following xmpp users; value xmpp_login_jid is also allowed and would be replaced with the xmpp login jid
disabled_jids:
- xmpp_login_jid