#178: Add redaction menu (disabled).

This commit is contained in:
Doug
2022-09-14 09:40:00 +01:00
committed by Doug
parent 4bed534a6f
commit fb947f2dba
13 changed files with 79 additions and 10 deletions
@@ -24,6 +24,7 @@ enum RoomProxyError: Error {
case failedRetrievingMemberAvatarURL
case failedRetrievingMemberDisplayName
case failedSendingMessage
case failedRedactingEvent
}
enum RoomProxyCallback {
@@ -56,5 +57,7 @@ protocol RoomProxyProtocol {
func sendMessage(_ message: String) async -> Result<Void, RoomProxyError>
func redactItem(_ itemId: String) async -> Result<Void, RoomProxyError>
var callbacks: PassthroughSubject<RoomProxyCallback, Never> { get }
}