MCPcopy
hub / github.com/tinode/chat / TopicOwnerChange

Method TopicOwnerChange

server/db/adapter.go:129–129  ·  view source on GitHub ↗

TopicOwnerChange updates topic's owner

(topic string, newOwner t.Uid)

Source from the content-addressed store, hash-verified

127 TopicUpdate(topic string, update map[string]any) error
128 // TopicOwnerChange updates topic's owner
129 TopicOwnerChange(topic string, newOwner t.Uid) error
130
131 // Topic subscriptions
132

Callers 5

OwnerChangeMethod · 0.65
TestTopicOwnerChangeFunction · 0.65
TestTopicOwnerChangeFunction · 0.65
TestTopicOwnerChangeFunction · 0.65
TestTopicOwnerChangeFunction · 0.65

Implementers 4

adapterserver/db/mongodb/adapter.go
adapterserver/db/postgres/adapter.go
adapterserver/db/rethinkdb/adapter.go
adapterserver/db/mysql/adapter.go

Calls

no outgoing calls

Tested by 4

TestTopicOwnerChangeFunction · 0.52
TestTopicOwnerChangeFunction · 0.52
TestTopicOwnerChangeFunction · 0.52
TestTopicOwnerChangeFunction · 0.52