diff --git a/daemon/call.c b/daemon/call.c index c8b1a745c..dc04b3274 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -4218,7 +4218,7 @@ void unsubscribe_monologue_from_all(struct call_monologue *ml) { } void unsubscribe_all_from_monologue(struct call_monologue *ml) { - __unsubscribe_monologue_from_all(ml, subscription_store_ht_null()); + __unsubscribe_all_from_monologue(ml); } diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index 4d9f301ac..67d8c9f99 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -2613,8 +2613,10 @@ const char *call_mesh_ng(ng_command_ctx_t *ctx) { return "Given from-tag not found"; if (flags.unsubscribe) { + /* unsubscribe these medias from other */ unsubscribe_monologue_from_all(tag->from_ml); if (flags.bidirectional) + /* drop all subscribers of these medias */ unsubscribe_all_from_monologue(tag->from_ml); } }