allow sending messages when other party isnt logged in
This commit is contained in:
parent
5a8814b3dd
commit
8b56745ccf
|
|
@ -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,
|
||||
// ),
|
||||
// ),
|
||||
// );
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue