From f58b5becfa45818a6825e28c394ee2ee7d92d147 Mon Sep 17 00:00:00 2001
From: dec05eba <dec05eba@protonmail.com>
Date: Tue, 9 Apr 2019 00:51:24 +0200
Subject: Fix invite user crash, set avatar url

---
 include/dchat/Room.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'include/dchat')

diff --git a/include/dchat/Room.hpp b/include/dchat/Room.hpp
index 6681cdc..b27ca03 100644
--- a/include/dchat/Room.hpp
+++ b/include/dchat/Room.hpp
@@ -107,7 +107,7 @@ namespace dchat
 
     struct InviteUserRequest
     {
-        std::shared_ptr<Room> room;
+        Room *room;
         odhtdb::Signature::PublicKey userPublicKey;
         std::string message;
     };
-- 
cgit v1.2.3-70-g09d2