XMPP documentation fix.

This commit is contained in:
Ylian Saint-Hilaire 2022-10-28 12:40:52 -07:00
parent 527f224810
commit b9aace76fc
2 changed files with 27 additions and 27 deletions

View File

@ -34,7 +34,7 @@ Note the "messaging" section in the config.json. For Telegram user login, it loo
{ {
"messaging": { "messaging": {
"telegram": { "telegram": {
"apiid": 00000000, "apiid": 0,
"apihash": "00000000000000000000000", "apihash": "00000000000000000000000",
"session": "aaaaaaaaaaaaaaaaaaaaaaa" "session": "aaaaaaaaaaaaaaaaaaaaaaa"
} }
@ -88,10 +88,10 @@ For XMPP integration, you need to provide MeshCentral with a XMPP server, userna
{ {
"messaging": { "messaging": {
"xmpp": { "xmpp": {
service: "xmppserver.com", "service": "xmppserver.com",
credentials: { "credentials": {
username: 'username', "username": "username",
password: 'password' "password": "password"
} }
} }
} }

View File

@ -42,14 +42,14 @@
} }
// For XMPP login, add this in config.json // For XMPP login, add this in config.json
"messaging": { {
"messaging": {
"xmpp": { "xmpp": {
service: "xmppserver.com", "service": "xmppserver.com",
//domain: "xmppserver.com", "credentials": {
//resource: "example", "username": "username",
credentials: { "password": "password"
username: 'username', }
password: 'password'
} }
} }
} }