1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-14 04:20:57 +01:00

Add undoview for save message

This commit is contained in:
NekoInverter 2021-01-29 00:59:32 +08:00 committed by 世界
parent 09f6eff406
commit c7211b912d
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -20076,6 +20076,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
ArrayList<MessageObject> messages = new ArrayList<>();
messages.add(selectedObject);
forwardMessages(messages, false, true, 0, UserConfig.getInstance(currentAccount).getClientUserId());
undoView.showWithAction(getUserConfig().getClientUserId(), UndoView.ACTION_FWD_MESSAGES, messages.size());
break;
}
case 94: {