-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RoomMessageEvent::temporaryPathToDownload()
This is a former part of Room::downloadFile() that calculated the path to a fallback temporary file when no file path is passed to it. Exposing this logic in a separate API allows to access the file outside of downloading sequence (e.g. place the temporary file there created after pasting an attachment from clipboard or drag-n-drop).
- Loading branch information
1 parent
c27704d
commit 36951bb
Showing
3 changed files
with
59 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters