Show error when editing messages after max edits

This commit is contained in:
ayumi-signal 2023-11-07 17:55:48 -08:00 committed by GitHub
parent 6d66bf1600
commit bb8e7af905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 49 additions and 8 deletions

View file

@ -1215,6 +1215,7 @@ export const getConversationTitle = createSelector(
getConversationTitleForPanelType(i18n, panel?.type)
);
// Note that this doesn't take into account max edit count. See canEditMessage.
export const getLastEditableMessageId = createSelector(
getConversationMessages,
getMessages,