never publish pointer payloads on message bus (#411)

This commit is contained in:
Christoph
2025-04-21 16:42:35 +02:00
parent e2966d32ea
commit 059234d416
2 changed files with 6 additions and 6 deletions

View File

@@ -112,7 +112,7 @@ func (m Manager) connectToMessageBus() {
_ = m.bus.Subscribe(app.TopicUserDeleted, m.handleUserDeletedEvent)
}
func (m Manager) handleUserCreationEvent(user *domain.User) {
func (m Manager) handleUserCreationEvent(user domain.User) {
if !m.cfg.Core.CreateDefaultPeerOnCreation {
return
}