summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index f4ead27e7..711806021 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1307,11 +1307,11 @@ static int uploadUpdate(void *ptr,
size_t total A_UNUSED,
size_t remaining A_UNUSED)
{
- if (status == DownloadStatus::IDLE || status == DownloadStatus::STARTING)
+ if (status == DownloadStatus::Idle || status == DownloadStatus::Starting)
return 0;
UploadChatInfo *const info = reinterpret_cast<UploadChatInfo*>(ptr);
- if (status == DownloadStatus::COMPLETE)
+ if (status == DownloadStatus::Complete)
{
ChatTab *const tab = info->tab;
if (chatWindow && (!tab || chatWindow->isTabPresent(tab)))