docs: function sendTypingStatus() {
      if (currentDialog.type == 3) {
          QB.chat.sendIsTypingStatus(opponentId);
      } else if (currentDialog && currentDialog.xmpp_room_jid) {
          QB.chat.sendIsTypingStatus(currentDialog.xmpp_room_jid);
      }
  }