feat: add client call feature switches
This commit is contained in:
+1
-1
@@ -1218,7 +1218,7 @@ func (t *Topic) handlePubBroadcast(msg *ClientComMessage) {
|
||||
|
||||
isCall := msg.Pub.Head != nil && msg.Pub.Head["webrtc"] != nil
|
||||
if isCall {
|
||||
if len(globals.iceServers) == 0 {
|
||||
if !imCallFeatureEnabled() {
|
||||
msg.sess.queueOut(ErrNotImplementedReply(msg, types.TimeNow()))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user