Add files via upload

This commit is contained in:
Cola-Echo
2025-12-31 04:04:45 +08:00
committed by GitHub
parent 713f2211d2
commit fa1b9c111b
14 changed files with 3800 additions and 60 deletions

View File

@@ -8,6 +8,7 @@ import { sendMessage, sendPhotoMessage, sendBatchMessages, appendMusicCardMessag
import { isInGroupChat, sendGroupMessage, sendGroupPhotoMessage, sendGroupBatchMessages, getCurrentGroupIndex, appendGroupMessage, showGroupTypingIndicator, hideGroupTypingIndicator, callGroupAI, enforceGroupChatMemberLimit, appendGroupMusicCardMessage } from './group-chat.js';
import { startVoiceCall } from './voice-call.js';
import { startVideoCall } from './video-call.js';
import { startRealVoiceCall } from './real-voice-call.js';
import { showMusicPanel, initMusicEvents } from './music.js';
import { showRedPacketPage } from './red-packet.js';
import { showTransferPage } from './transfer.js';
@@ -656,6 +657,14 @@ function handleFuncItemClick(func) {
hideFuncPanel();
startVideoCall();
return;
case 'realvoice':
hideFuncPanel();
if (isInGroupChat()) {
showToast('群聊暂不支持实时语音', 'info');
return;
}
startRealVoiceCall();
return;
case 'music':
hideFuncPanel();
showMusicPanel();