Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yostyle committed Apr 8, 2024
1 parent c432446 commit 64b5ffd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ class TimelineViewModel @AssistedInject constructor(
if (room == null) return
// Tchap: Revoke read permission to the local file.
// State must be in one of the sending states
if (action.force || action.event.root.sendState.isSending().orFalse()) {
if (action.force || action.event.root.sendState.isSending()) {
room.sendService().cancelSend(action.event.eventId)

val clearContent = action.event.root.getClearContent()
Expand Down

0 comments on commit 64b5ffd

Please sign in to comment.