diff --git a/telegram-bot-api/WebhookActor.cpp b/telegram-bot-api/WebhookActor.cpp index 9c67bb3..2033a68 100644 --- a/telegram-bot-api/WebhookActor.cpp +++ b/telegram-bot-api/WebhookActor.cpp @@ -207,7 +207,7 @@ td::Status WebhookActor::create_webhook_error(td::Slice error_message, td::Statu on_webhook_error(error_message); } on_error(std::move(result)); - return std::move(error); + return error; } td::Result WebhookActor::create_ssl_stream() {