mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Hide thread context menu in the thread
This commit is contained in:
@@ -5903,9 +5903,9 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
|
||||
|
||||
[items addObject:[self copyMenuItemWithEvent:event andCell:cell]];
|
||||
[items addObject:[self replyMenuItemWithEvent:event]];
|
||||
if (RiotSettings.shared.enableThreads && !event.threadIdentifier)
|
||||
if (RiotSettings.shared.enableThreads && !self.roomDataSource.threadId && !event.threadIdentifier)
|
||||
{
|
||||
// add "reply in thread" option only if not a thread already
|
||||
// add "reply in thread" option only if not in thread already
|
||||
[items addObject:[self replyInThreadMenuItemWithEvent:event]];
|
||||
}
|
||||
[items addObject:[self editMenuItemWithEvent:event]];
|
||||
|
||||
Reference in New Issue
Block a user