mirror of
https://github.com/Cola-Echo/Cola.git
synced 2026-06-06 03:35:50 +00:00
Add files via upload
This commit is contained in:
@@ -11,6 +11,7 @@ import { startVideoCall } from './video-call.js';
|
||||
import { showMusicPanel, initMusicEvents } from './music.js';
|
||||
import { showRedPacketPage } from './red-packet.js';
|
||||
import { showTransferPage } from './transfer.js';
|
||||
import { showGiftPage } from './gift.js';
|
||||
import { getSettings, splitAIMessages } from './config.js';
|
||||
import { refreshChatList } from './ui.js';
|
||||
import { requestSave } from './save-manager.js';
|
||||
@@ -677,6 +678,14 @@ function handleFuncItemClick(func) {
|
||||
showTransferPage();
|
||||
}
|
||||
return;
|
||||
case 'gift':
|
||||
hideFuncPanel();
|
||||
if (isInGroupChat()) {
|
||||
showToast('群聊暂不支持送礼物', 'info');
|
||||
return;
|
||||
}
|
||||
showGiftPage();
|
||||
return;
|
||||
case 'listen':
|
||||
hideFuncPanel();
|
||||
// 群聊不支持一起听
|
||||
|
||||
Reference in New Issue
Block a user