mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -343,7 +343,7 @@ void FileLoadTask::process() {
|
||||
// Voice sending is supported only from memory for now.
|
||||
// Because for voice we force mime type and don't read MediaInformation.
|
||||
// For a real file we always read mime type and read MediaInformation.
|
||||
t_assert(!isVoice);
|
||||
Assert(!isVoice);
|
||||
|
||||
filesize = info.size();
|
||||
filename = info.fileName();
|
||||
|
Reference in New Issue
Block a user