From fc4d55f8464779e0912be771973ebd94a27df951 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 6 Aug 2021 02:07:23 +0200 Subject: Matrix: remove unecessary m.room.power_levels from state sync --- include/AsyncTask.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/AsyncTask.hpp b/include/AsyncTask.hpp index 45b3397..e256dc7 100644 --- a/include/AsyncTask.hpp +++ b/include/AsyncTask.hpp @@ -57,7 +57,7 @@ namespace QuickMedia { future.get(); } } else { - T result; + T result = T(); if(thread.joinable()) { thread.join(); result = std::move(future.get()); -- cgit v1.2.3