Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SpectrumIM/spectrum2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kaluza <jkaluza@redhat.com>2016-03-06 16:50:05 +0300
committerJan Kaluza <jkaluza@redhat.com>2016-03-06 16:50:05 +0300
commit6e1af765cdc057b6d227e5cfaaa16c84c7dabb59 (patch)
tree29362195134c09cf2896d683cde228cfaa847aac /spectrum
parent84ea5f32492123f932826a0f9e4c5444934af1e0 (diff)
AdminInterface: Support labels for commands
Diffstat (limited to 'spectrum')
-rw-r--r--spectrum/src/frontends/slack/SlackUserManager.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/spectrum/src/frontends/slack/SlackUserManager.cpp b/spectrum/src/frontends/slack/SlackUserManager.cpp
index fbe2802f..22298bad 100644
--- a/spectrum/src/frontends/slack/SlackUserManager.cpp
+++ b/spectrum/src/frontends/slack/SlackUserManager.cpp
@@ -49,7 +49,8 @@ class ListRoomsCommand : public AdminInterfaceCommand {
AdminInterfaceCommand::Frontend,
AdminInterfaceCommand::UserContext,
AdminInterfaceCommand::UserMode,
- AdminInterfaceCommand::Execute) {
+ AdminInterfaceCommand::Execute,
+ "List joined 3rd-party network rooms") {
m_storageBackend = storageBackend;
setDescription("List connected rooms");
}
@@ -81,7 +82,8 @@ class JoinRoomCommand : public AdminInterfaceCommand {
AdminInterfaceCommand::Frontend,
AdminInterfaceCommand::UserContext,
AdminInterfaceCommand::UserMode,
- AdminInterfaceCommand::Execute) {
+ AdminInterfaceCommand::Execute,
+ "Join 3rd-party network room") {
m_storageBackend = storageBackend;
setDescription("Join the room");
@@ -140,7 +142,8 @@ class LeaveRoomCommand : public AdminInterfaceCommand {
AdminInterfaceCommand::Frontend,
AdminInterfaceCommand::UserContext,
AdminInterfaceCommand::UserMode,
- AdminInterfaceCommand::Execute) {
+ AdminInterfaceCommand::Execute,
+ "Leave 3rd-party network room") {
m_storageBackend = storageBackend;
setDescription("Leave the room");