重新构建dev产物(撤回菜单误判、验证码文案、文本收藏撤回态三处修复)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Your Name
2026-09-06 02:13:55 +08:00
co-authored by Claude Sonnet 5
parent b5531b0b7f
commit 1e5e64ae2c
4 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -1016,7 +1016,7 @@ class MessagesView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compone
menuItems.push('menu_item_copy', 'menu_item_favorite');
const recallWindow = this.state.messagePolicy ? this.state.messagePolicy.recall_window_seconds : 0;
const canRecallAsAdmin = topic.isGroupType() && topic.getAccessMode() && topic.getAccessMode().isAdmin();
if ((params.userFrom == this.props.myUserId || canRecallAsAdmin) && params.seq > 0 && recallWindow > 0 && params.timestamp && params.timestamp.getTime() > new Date().getTime() - recallWindow * 1000) {
if ((params.userFrom == this.props.myUserId || canRecallAsAdmin) && params.seq > 0 && params.seq < tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.LOCAL_SEQID && recallWindow > 0 && params.timestamp && params.timestamp.getTime() > new Date().getTime() - recallWindow * 1000) {
menuItems.push('menu_item_recall');
}
if (topic.isSelfType()) {