C# 该方法未在Twilio聊天文件中调用

C# 该方法未在Twilio聊天文件中调用,c#,twilio,twilio-api,C#,Twilio,Twilio Api,Js文件:twilio聊天 方法:NotifyMemberJourned和notifyMemberLeft位于 问题:用户在关闭聊天选项卡时没有呼叫,我不知道原因 根据官网的情况,在通知打字时可以正常调用,但刚刚发送的两个不调用 function initChannelEvents() { tc.currentChannel.on('messageAdded', tc.addMessageToList); tc.currentChannel.on('typing

Js文件:twilio聊天

方法:NotifyMemberJourned和notifyMemberLeft位于

问题:用户在关闭聊天选项卡时没有呼叫,我不知道原因

根据官网的情况,在通知打字时可以正常调用,但刚刚发送的两个不调用

function initChannelEvents() {

        tc.currentChannel.on('messageAdded', tc.addMessageToList);
        tc.currentChannel.on('typingStarted', showTypingStarted);
        tc.currentChannel.on('typingEnded', hideTypingStarted);
        tc.currentChannel.on('memberJoined', notifyMemberJoined);
        tc.currentChannel.on('memberLeft', notifyMemberLeft);
        $inputText.prop('disabled', false).focus();

        utils.logInfo('Channel ' + tc.channelName + ' joined successfully!');
    }

    function notifyMemberJoined(member) {
        notify(member.identity + ' joined the channel');
    }

    function notifyMemberLeft(member) {
        notify(member.identity + ' left the channel');
    }

用户没有提示离开频道

我很难理解您的问题是什么。你是说当你关闭一个选项卡时,
notifyMemberLeft
事件不会在其他选项卡中触发吗?我很难理解你的问题是什么。您是说当您关闭一个选项卡时,
notifyMemberLeft
事件不会在其他选项卡中触发吗?