Require role subscription and initialize real chat test contexts
This commit is contained in:
1 parent
14b01964b1
commit
d6d8ffc4a8
3 files changed
+15
-6
No files matched your search
@@ -1422,8 +1422,11 @@ int media_delivery_init(struct UTUN_INSTANCE* inst) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (member_sync_add_props_cbk(inst, md_on_props_changed, md)) {
|
||||
DEBUG_ERROR(DEBUG_CATEGORY_MEDIA, "%s: cannot subscribe to member roles", MD_ID);
|
||||
etcp_router_unbind(inst, ETCP_RT_ID_MEDIA_DELIVERY); return -1;
|
||||
}
|
||||
etcp_add_conn_status_cbk(inst, md_on_conn_status, md);
|
||||
member_sync_add_props_cbk(inst, md_on_props_changed, md);
|
||||
|
||||
md->initialized = 1;
|
||||
media_delivery_refresh_roles(inst);
|
||||
|
||||
Reference in new issue
Block a user