Customizing how Honcho handles peers and sessions
observe_me
flag in their configuration to false
.
If the peer has a session-level configuration, it will override this configuration. If the flag is not set, or is set to true
, the peer will be observed.
deriver_disabled
flag to true
. You can update the flag by calling get_or_create
on the session with a new configuration.
observe_me
: Whether this peer should be observed by others in the session. By default, this is true
. This overrides the peer-level observe_me
flag.
observe_others
: Whether this peer should produce local representations of others in the session. By default, this is false
. Other peers will only be observed if their observe_me
flag is true
.
observe_others
flag to true
for at least one peer in the session and at least one other peer must have their observe_me
flag set to true
.
Many applications will work best without local representations, preferring to chat with Honcho’s top-down representation of each peer. Only enable local representations via the observe_others
flag if you are doing advanced reasoning on user perspectives.
set_peer_config
on the session with the peer and the configuration you want to set.