vector-im/element-ios/issues/5298 - Disable forwarding for location messages and allow replies.

This commit is contained in:
Stefan Ceriu
2021-12-17 14:48:42 +02:00
committed by Stefan Ceriu
parent f2230f528d
commit 17f9639173
4 changed files with 13 additions and 1 deletions
+3 -1
View File
@@ -3277,7 +3277,9 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
}]];
}
if (selectedEvent.sentState == MXEventSentStateSent && selectedEvent.eventType != MXEventTypePollStart)
if (selectedEvent.sentState == MXEventSentStateSent &&
selectedEvent.eventType != MXEventTypePollStart &&
!selectedEvent.hasLocation)
{
[actionsMenu addAction:[UIAlertAction actionWithTitle:[VectorL10n roomEventActionForward]
style:UIAlertActionStyleDefault