Ring Daemon
Loading...
Searching...
No Matches
conversationrepository.h File Reference
Include dependency graph for conversationrepository.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jami::ConversationCommit
 
struct  jami::ConversationMember
 
class  jami::ConversationRepository
 This class gives access to the git repository that represents the conversation. More...
 
struct  jami::Filter
 
struct  jami::GitAuthor
 
struct  jami::LogOptions
 

Namespaces

namespace  jami
 
namespace  jami::MemberPath
 

Typedefs

using jami::PostConditionCb = std::function< bool(const std::string &, const GitAuthor &, ConversationCommit &)>
 
using jami::PreConditionCb = std::function< CallbackResult(const std::string &, const GitAuthor &, const GitCommit &)>
 

Enumerations

enum class  jami::CallbackResult { jami::Skip , jami::Break , jami::Ok }
 
enum class  jami::ConversationMode : int { jami::ONE_TO_ONE = 0 , jami::ADMIN_INVITES_ONLY , jami::INVITES_ONLY , jami::PUBLIC }
 
enum class  jami::MemberRole {
  jami::ADMIN = 0 , jami::MEMBER , jami::INVITED , jami::BANNED ,
  jami::LEFT
}
 

Functions

 MSGPACK_ADD_ENUM (jami::ConversationMode)
 
 MSGPACK_ADD_ENUM (jami::MemberRole)
 

Variables

static const std::filesystem::path jami::MemberPath::ADMINS {"admins"}
 
static const std::filesystem::path jami::MemberPath::BANNED {"banned"}
 
static const std::filesystem::path jami::MemberPath::DEVICES {"devices"}
 
constexpr auto jami::ECOMMIT = 5
 
constexpr auto jami::EFETCH = 1
 
constexpr auto jami::EINVALIDMODE = 2
 
constexpr auto jami::EUNAUTHORIZED = 4
 
constexpr auto jami::EVALIDFETCH = 3
 
static const std::filesystem::path jami::MemberPath::INVITED {"invited"}
 
static const std::filesystem::path jami::MemberPath::MEMBERS {"members"}
 

Function Documentation

◆ MSGPACK_ADD_ENUM() [1/2]

MSGPACK_ADD_ENUM ( jami::ConversationMode  )

◆ MSGPACK_ADD_ENUM() [2/2]

MSGPACK_ADD_ENUM ( jami::MemberRole  )