We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd8e68a commit a4879a9Copy full SHA for a4879a9
lib/widgets/compose_box.dart
@@ -2065,7 +2065,7 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
2065
case TopicNarrow(:final streamId):
2066
final channel = store.streams[streamId];
2067
if (channel == null || !store.hasPostingPermission(inChannel: channel,
2068
- user: store.selfUser, byDate: DateTime.now())) {
+ user: store.selfUser, byDate: ZulipBinding.instance.utcNow())) {
2069
return _ErrorBanner(getLabel: (zulipLocalizations) =>
2070
zulipLocalizations.errorBannerCannotPostInChannelLabel);
2071
}
0 commit comments