summary refs log tree commit diff
path: root/src/Cache.h
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-09-09 21:31:23 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-09-11 19:35:31 -0400
commitfb53fc86b67efd17288df24dba72085018c29eac (patch)
tree4ad446730d4a7fecb31ab177bc223c6cbe46c931 /src/Cache.h
parentUse correct form of roomId (diff)
downloadnheko-fb53fc86b67efd17288df24dba72085018c29eac.tar.xz
Fix invites crashing the whole app
Diffstat (limited to '')
-rw-r--r--src/Cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Cache.h b/src/Cache.h

index 57a36d73..2c024722 100644 --- a/src/Cache.h +++ b/src/Cache.h
@@ -84,6 +84,10 @@ getRoomAvatarUrl(lmdb::txn &txn, lmdb::dbi &statesdb, lmdb::dbi &membersdb); std::vector<RoomMember> getMembers(const std::string &room_id, std::size_t startIndex = 0, std::size_t len = 30); +//! Get the other person from an invite to a direct chat. +RoomMember +getDirectInviteMember(const std::string &room_id); + bool isInitialized();