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) { // if (!controller.room.otherPartyCanReceiveMessages) {
return Center( // return Center(
child: Padding( // child: Padding(
padding: const EdgeInsets.all(12.0), // padding: const EdgeInsets.all(12.0),
child: Text( // child: Text(
L10n.of(context).otherPartyNotLoggedIn, // L10n.of(context).otherPartyNotLoggedIn,
style: theme.textTheme.bodySmall, // style: theme.textTheme.bodySmall,
textAlign: TextAlign.center, // textAlign: TextAlign.center,
), // ),
), // ),
); // );
} // }