Exemplo n.º 1
0
        public void Handle(ISession session)
        {
            ChatSession chatSession = session as ChatSession;
            ChatUser    user        = chatSession.Owner;

            user.ChatThemeSettings.BackgroundId   = Theme.BackgroundId;
            user.ChatThemeSettings.BackgroundBlur = Theme.BackgroundBlur;

            user.ChatThemeSettings.BackgroundColor = Theme.BackgroundColor;

            user.ChatThemeSettings.Use = Theme.Use;

            user.ChatThemeSettings.IconColor = Theme.IconColor;

            user.SaveChatTheme();

            user.Send(this, chatSession);
        }