Friend Chat

FriendChat and Presence er the two main services for collaboration in Friend.

Connecting FriendCore to Presence

Two config files must be updated

In FriendCore config, cfg/cfg.ini, add:

[ServiceKeys]

presence = <service key>

In Presence config, services/Presence/config.js, add:

server : {

friendcore : {

host : “friendcore domain / localhost”,

serviceKey : “<service key>”,

}

}

<servcie key> is a unique string of your choosing. Together with the defaults from example.config.js this should allow presence to connect to FC. If a default value needs to be overridden, add it to config.js

Was this page helpful?