支持私聊消息加密转发到群聊
This commit is contained in:
1 parent
20e179a877
commit
9028ba0eed
8 files changed
+99
-62
No files matched your search
@@ -4,7 +4,7 @@ import { useSession } from '../session'
|
||||
import { downloadAttachment } from './attachments'
|
||||
import type { Attachment } from './attachments'
|
||||
import MediaPreview from './MediaPreview.vue'
|
||||
import GroupForward from './GroupForward.vue'
|
||||
import ForwardDialog from './ForwardDialog.vue'
|
||||
import VoiceMessage from './VoiceMessage.vue'
|
||||
import VoiceRecorder from './VoiceRecorder.vue'
|
||||
import { enableChat, trust } from './chat'
|
||||
@@ -277,8 +277,8 @@ onBeforeUnmount(() => clearInterval(timer))
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<GroupForward v-if="forwarding && view" :key="[forwarding.epoch, forwarding.sender, forwarding.id].join('/')"
|
||||
:group-id="group.id" :pinned="view.pinned" :busy="busy" @confirm="forward" @cancel="forwarding = undefined" />
|
||||
<ForwardDialog v-if="forwarding && view" :key="[forwarding.epoch, forwarding.sender, forwarding.id].join('/')"
|
||||
:source-group="group.id" :pinned="view.pinned" :busy="busy" @confirm="forward" @cancel="forwarding = undefined" />
|
||||
<div v-if="ready && recalling" class="confirmation">
|
||||
<p>撤回后,群成员的聊天界面会更新。成员可能已保存副本。</p>
|
||||
<button type="button" class="plain" :disabled="busy || view?.hasPending" @click="recall">确认撤回</button>
|
||||
|
||||
Reference in new issue
Block a user