feat(app): show paused-messaging banner across the app (#3178)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-03 19:31:43 +02:00
1 parent 973aaced96
commit bc5dcdfe21
61 files changed
+7917 -7775

No files matched your search

@@ -343,7 +343,7 @@ const UserProfileMobileSheetContent: React.FC<UserProfileMobileSheetContentProps
);
};
const handleSendFriendRequest = () => {
RelationshipCommands.sendFriendRequest(user.id);
void RelationshipActionUtils.sendFriendRequest(i18n, user.id);
};
const handleAcceptFriendRequest = () => {
RelationshipActionUtils.showAcceptFriendRequestConfirmation(i18n, user);
@@ -10,9 +10,9 @@ import {msg} from '@lingui/core/macro';
export const ACCOUNT_LIMITED_NOTICE_DESCRIPTOR = msg({
message: 'Messaging is paused on your account. Check your email for a quick step to continue.',
comment:
'Notice shown in place of the message composer, and as an error, when messaging is paused on the current account until the user completes one quick step described in an email. While paused, the account cannot post, react, join communities or change its profile. Keep the tone calm and friendly.',
'Notice shown in place of the message composer, as a banner at the top of the app, and as an error, when messaging is paused on the current account until the user completes one quick step described in an email. While paused, the account cannot post, react, join communities or change its profile. Keep the tone calm and friendly.',
});
const ACCOUNT_LIMITED_TITLE_DESCRIPTOR = msg({
export const ACCOUNT_LIMITED_TITLE_DESCRIPTOR = msg({
message: 'Messaging is paused',
comment:
'Title of the error modal shown when an action fails because messaging is paused on the current account until the user completes one quick step described in an email. Keep the tone calm and friendly.',