App now prevents redacting own messages if there is no permission (#2368)

This commit is contained in:
Mauro
2024-01-23 12:05:30 +01:00
committed by GitHub
parent 31286c75fc
commit 30a0561251
5 changed files with 42 additions and 2 deletions
@@ -99,6 +99,8 @@ protocol RoomProxyProtocol {
func canUserRedactOther(userID: String) async -> Result<Bool, RoomProxyError>
func canUserRedactOwn(userID: String) async -> Result<Bool, RoomProxyError>
func canUserTriggerRoomNotification(userID: String) async -> Result<Bool, RoomProxyError>
func canUserJoinCall(userID: String) async -> Result<Bool, RoomProxyError>