mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:11:45 +00:00
Disable reply actions for local echoes
This commit is contained in:
committed by
Stefan Ceriu
parent
fe656450ef
commit
501c3aed23
@@ -517,8 +517,8 @@ class RoomScreenViewModel: RoomScreenViewModelType, RoomScreenViewModelProtocol
|
||||
|
||||
var actions: [TimelineItemMenuAction] = []
|
||||
|
||||
if let messageitem = item as? EventBasedMessageTimelineItemProtocol {
|
||||
actions.append(.reply(isThread: messageitem.isThreaded))
|
||||
if let messageItem = item as? EventBasedMessageTimelineItemProtocol, messageItem.isRemoteMessage {
|
||||
actions.append(.reply(isThread: messageItem.isThreaded))
|
||||
actions.append(.forward(itemID: itemID))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user