Add thread option to an event if the labs setting enabled

This commit is contained in:
ismailgulek
2021-11-09 15:24:08 +03:00
parent 49cadec685
commit 9a7095ea4b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5931,7 +5931,7 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
[items addObject:[self copyMenuItemWithEvent:event andCell:cell]];
[items addObject:[self replyMenuItemWithEvent:event]];
if (!event.threadIdentifier)
if (RiotSettings.shared.enableThreads && !event.threadIdentifier)
{
// add "reply in thread" option only if not a thread already
[items addObject:[self replyInThreadMenuItemWithEvent:event]];