@@ -180,7 +180,9 @@ export function generateChatList() {
// 生成单聊列表项
functiongenerateContactChatItem(contact){
if(!contact)return'';
constlastMsg=contact.lastMsg;
if(!lastMsg)return'';
letpreview='';
if(lastMsg.type==='voice'||lastMsg.isVoice){
preview='[语音]';
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.