From 692fba37917f5ca9d0896de037d376c2c782efad Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 21 Jul 2019 17:02:31 +0200 Subject: [PATCH] Updating the conversation stuff --- src/PermissionManager.cpp | 1 + src/PermissionManager.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/PermissionManager.cpp b/src/PermissionManager.cpp index 80b78b9..db025c1 100644 --- a/src/PermissionManager.cpp +++ b/src/PermissionManager.cpp @@ -122,6 +122,7 @@ deque> ts::permission::availablePermissions make_shared(PermissionType::b_channel_create_modify_with_force_password, PermissionGroup::channel_create, "b_channel_create_modify_with_force_password", "Create new channels only with password"), make_shared(PermissionType::i_channel_create_modify_with_temp_delete_delay, PermissionGroup::channel_create, "i_channel_create_modify_with_temp_delete_delay", "Max delete delay for temporary channels"), make_shared(PermissionType::i_channel_create_modify_conversation_history_length, PermissionGroup::channel_create, "i_channel_create_modify_conversation_history_length", "Upper limmit for the setting of the max conversation history limit"), + make_shared(PermissionType::b_channel_create_modify_conversation_history_unlimited, PermissionGroup::channel_create, "b_channel_create_modify_conversation_history_unlimited", "Allows the user to set the channel conversation history to unlimited"), make_shared(PermissionType::b_channel_modify_parent, PermissionGroup::channel_modify, "b_channel_modify_parent", "Move channels"), make_shared(PermissionType::b_channel_modify_make_default, PermissionGroup::channel_modify, "b_channel_modify_make_default", "Make channel default"), make_shared(PermissionType::b_channel_modify_make_permanent, PermissionGroup::channel_modify, "b_channel_modify_make_permanent", "Make channel permanent"), diff --git a/src/PermissionManager.h b/src/PermissionManager.h index 36cdfe3..7834c1d 100644 --- a/src/PermissionManager.h +++ b/src/PermissionManager.h @@ -172,6 +172,7 @@ namespace ts { b_channel_create_modify_with_force_password, i_channel_create_modify_with_temp_delete_delay, i_channel_create_modify_conversation_history_length, + b_channel_create_modify_conversation_history_unlimited, /* channel::modify */ b_channel_modify_parent,