Skip to content

Commit

Permalink
Autoriser le partage de localisation de la part d'un invité dans un M…
Browse files Browse the repository at this point in the history
…essage Direct
  • Loading branch information
NicolasBuquet committed Apr 3, 2024
1 parent b153993 commit 85147e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ final class LocationSharingCoordinator: Coordinator, Presentable {
return false
}

return userPowerLevel.rawValue >= RoomPowerLevel.moderator.rawValue
// Tchap: allow user to live share its location even if its user power level is below moderator.
// return userPowerLevel.rawValue >= RoomPowerLevel.moderator.rawValue
return true
}

private func showLabFlagPromotionIfNeeded(completion: @escaping ((Bool) -> Void)) {
Expand Down
1 change: 1 addition & 0 deletions changelog.d/984.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Autoriser le partage de localisation de la part d'un invité dans un Message Direct

0 comments on commit 85147e7

Please sign in to comment.