Ejemplo n.º 1
0
        protected override string ExecuteChatCommand(object par)
        {
            string r = ChatMessagesChannel.JoinRoom(par is string?(string)par: Client.UniqueKey);

            if (r == Resources.ApprovalNeeded)
            {
            }
            return(r);
        }
Ejemplo n.º 2
0
        protected override string ExecuteChatCommand(object par)
        {
            var    room = (ChatRoom)par;
            string r    = ChatMessagesChannel.ManagePermissions(room);

            if (r == null)
            {
                room.DirtyProperties.Clear();
            }
            return(r);
        }
Ejemplo n.º 3
0
 protected override string ExecuteChatCommand(object message)
 {
     return(ChatMessagesChannel.SendMessage(message == null ? null : message.ToString()));
 }
Ejemplo n.º 4
0
 protected override string ExecuteChatCommand(object par)
 {
     return(ChatMessagesChannel.LeaveRoom(par is string?(string)par: Client.UniqueKey));
 }