Add the entity trait and implement for models, views, subscriptions, and observations
This commit is contained in:
@@ -67,8 +67,8 @@ impl ActiveCall {
|
||||
incoming_call: watch::channel(),
|
||||
|
||||
_subscriptions: vec![
|
||||
client.add_request_handler(cx.weak_handle(), Self::handle_incoming_call),
|
||||
client.add_message_handler(cx.weak_handle(), Self::handle_call_canceled),
|
||||
client.add_request_handler(cx.weak_model(), Self::handle_incoming_call),
|
||||
client.add_message_handler(cx.weak_model(), Self::handle_call_canceled),
|
||||
],
|
||||
client,
|
||||
user_store,
|
||||
|
||||
Reference in New Issue
Block a user