3779: show the input tool bar on timeline not live

This commit is contained in:
MaximeE
2022-02-23 11:03:22 +01:00
parent d39b42dbc1
commit c980315d83
5 changed files with 40 additions and 10 deletions
+4 -4
View File
@@ -680,9 +680,9 @@
if (dataSource)
{
if (!dataSource.isLive || dataSource.isPeeking)
if (dataSource.isPeeking)
{
// Remove the input toolbar if the displayed timeline is not a live one or in case of peeking.
// Remove the input toolbar in case of peeking.
// We do not let the user type message in this case.
[self setRoomInputToolbarViewClass:nil];
}
@@ -1085,9 +1085,9 @@
inputToolbarView = nil;
}
if (roomDataSource && (!roomDataSource.isLive || roomDataSource.isPeeking))
if (roomDataSource && roomDataSource.isPeeking)
{
// Do not show the input toolbar if the displayed timeline is not a live one, or in case of peeking.
// Do not show the input toolbar if the displayed timeline in case of peeking.
// We do not let the user type message in this case.
roomInputToolbarViewClass = nil;
}