onJoinChannelSuccess method
void
onJoinChannelSuccess()
Implementation
void onJoinChannelSuccess() async {
tools.log("ChatCallKitManagerImpl: onJoinChannelSuccess called");
if (_chat.model.curCall == null) return;
await setDefaultModeType();
tools.log("ChatCallKitManagerImpl: setDefaultModeType called");
_chat.onCurrentUserJoined();
tools.log("ChatCallKitManagerImpl: onCurrentUserJoined called");
if (_chat.model.curCall != null) {
String channel = _chat.model.curCall!.channel;
tools.log("ChatCallKitManagerImpl: onJoinedChannel called, channel: $channel");
for (var value in handlers) {
value.onJoinedChannel.call(channel);
}
}
}