allow sending messages when other party isnt logged in

This commit is contained in:
OfficialDakari 2025-09-02 10:51:26 +05:00
parent 5a8814b3dd
commit 8b56745ccf
1 changed files with 12 additions and 12 deletions

View File

@ -40,18 +40,18 @@ class ChatInputRow extends StatelessWidget {
);
}
if (!controller.room.otherPartyCanReceiveMessages) {
return Center(
child: Padding(
padding: const EdgeInsets.all(12.0),
child: Text(
L10n.of(context).otherPartyNotLoggedIn,
style: theme.textTheme.bodySmall,
textAlign: TextAlign.center,
),
),
);
}
// if (!controller.room.otherPartyCanReceiveMessages) {
// return Center(
// child: Padding(
// padding: const EdgeInsets.all(12.0),
// child: Text(
// L10n.of(context).otherPartyNotLoggedIn,
// style: theme.textTheme.bodySmall,
// textAlign: TextAlign.center,
// ),
// ),
// );
// }