summary refs log tree commit diff
path: root/src/CacheStructs.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-21 07:06:37 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-21 07:06:37 +0100
commite7d4aec6ecf65ad970c341e30949218e4472944a (patch)
tree32d1e0e03eb9f56ec0cc9d420cb3c64b6f3c3ebb /src/CacheStructs.h
parentMark rooms as direct chats (diff)
downloadnheko-e7d4aec6ecf65ad970c341e30949218e4472944a.tar.xz
Only mark as direct, if invite was direct
Diffstat (limited to 'src/CacheStructs.h')
-rw-r--r--src/CacheStructs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CacheStructs.h b/src/CacheStructs.h
index e28f5b2d..01a050da 100644
--- a/src/CacheStructs.h
+++ b/src/CacheStructs.h
@@ -26,6 +26,7 @@ struct RoomMember
 {
     QString user_id;
     QString display_name;
+    bool is_direct = false;
 };
 
 //! Used to uniquely identify a list of read receipts.
@@ -98,6 +99,7 @@ struct MemberInfo
 {
     std::string name;
     std::string avatar_url;
+    bool is_direct = false;
 };
 
 void