- Expanded list of allowed messages (#181)

  • Expanded list of allowed messages (#181)
diff --git a/lib/discourse_api/api/users.rb b/lib/discourse_api/api/users.rb
index e73d2f5..52a814b 100644
--- a/lib/discourse_api/api/users.rb
+++ b/lib/discourse_api/api/users.rb
@@ -31,7 +31,8 @@ module DiscourseApi
 
       def update_user(username, args)
         args = API.params(args)
-          .optional(:name, :title, :bio_raw, :location, :website, :profile_background, :card_background)
+          .optional(:name, :title, :bio_raw, :location, :website, :profile_background, :card_background,
+                    :email_messages_level, :mailing_list_mode, :homepage_id, :theme_ids, :user_fields)
           .to_h
         put("/u/#{username}", args)
       end

GitHub sha: 540e8114