MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / UpdateUser

Method UpdateUser

IceFireDB-SQLite/pkg/p2p/pubsub.go:216–218  ·  view source on GitHub ↗

A method of PubSub that updates the chat user name

(username string)

Source from the content-addressed store, hash-verified

214
215// A method of PubSub that updates the chat user name
216func (cr *PubSub) UpdateUser(username string) {
217 cr.ClientName = username
218}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected