feat: add chapter eight call records

This commit is contained in:
richjohnrambo
2026-08-13 16:14:57 +08:00
parent 92d0066a02
commit dfcccbb761
9 changed files with 711 additions and 20 deletions
+7
View File
@@ -1186,6 +1186,13 @@ func (t *Topic) handlePubBroadcast(msg *ClientComMessage) {
msg.sess.queueOut(ErrCallBusyReply(msg, types.TimeNow()))
return
}
head, content, err := normalizeCallInvite(msg.Pub.Head, msg.Pub.Content)
if err != nil {
msg.sess.queueOut(ErrMalformedReply(msg, types.TimeNow()))
return
}
msg.Pub.Head = head
msg.Pub.Content = content
}
// Save to DB at master topic.