From f8cd3c4fff3449f3e0e5b87b7280ff1dfcf75c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 17 Dec 2022 11:51:26 +0100 Subject: [PATCH] parsers/muc/user: Add status code in docstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- parsers/src/muc/user.rs | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/parsers/src/muc/user.rs b/parsers/src/muc/user.rs index 668b4c4..3319b1b 100644 --- a/parsers/src/muc/user.rs +++ b/parsers/src/muc/user.rs @@ -16,61 +16,61 @@ use std::convert::TryFrom; generate_attribute_enum!( /// Lists all of the possible status codes used in MUC presences. Status, "status", MUC_USER, "code", { - /// Inform user that any occupant is allowed to see the user's full JID + /// 100: Inform user that any occupant is allowed to see the user's full JID NonAnonymousRoom => 100, - /// Inform user that his or her affiliation changed while not in the room + /// 101: Inform user that his or her affiliation changed while not in the room AffiliationChange => 101, - /// Inform occupants that room now shows unavailable members + /// 102: Inform occupants that room now shows unavailable members ConfigShowsUnavailableMembers => 102, - /// Inform occupants that room now does not show unavailable members + /// 103: Inform occupants that room now does not show unavailable members ConfigHidesUnavailableMembers => 103, - /// Inform occupants that a non-privacy-related room configuration change has occurred + /// 104: Inform occupants that a non-privacy-related room configuration change has occurred ConfigNonPrivacyRelated => 104, - /// Inform user that presence refers to itself + /// 110: Inform user that presence refers to itself SelfPresence => 110, - /// Inform occupants that room logging is now enabled + /// 170: Inform occupants that room logging is now enabled ConfigRoomLoggingEnabled => 170, - /// Inform occupants that room logging is now disabled + /// 171: Inform occupants that room logging is now disabled ConfigRoomLoggingDisabled => 171, - /// Inform occupants that the room is now non-anonymous + /// 172: Inform occupants that the room is now non-anonymous ConfigRoomNonAnonymous => 172, - /// Inform occupants that the room is now semi-anonymous + /// 173: Inform occupants that the room is now semi-anonymous ConfigRoomSemiAnonymous => 173, - /// Inform user that a new room has been created + /// 201: Inform user that a new room has been created RoomHasBeenCreated => 201, - /// Inform user that service has assigned or modified occupant's roomnick + /// 210: Inform user that service has assigned or modified occupant's roomnick AssignedNick => 210, - /// Inform user that he or she has been banned from the room + /// 301: Inform user that he or she has been banned from the room Banned => 301, - /// Inform all occupants of new room nickname + /// 303: Inform all occupants of new room nickname NewNick => 303, - /// Inform user that he or she has been kicked from the room + /// 307: Inform user that he or she has been kicked from the room Kicked => 307, - /// Inform user that he or she is being removed from the room + /// 321: Inform user that he or she is being removed from the room /// because of an affiliation change RemovalFromRoom => 321, - /// Inform user that he or she is being removed from the room + /// 322: Inform user that he or she is being removed from the room /// because the room has been changed to members-only and the /// user is not a member ConfigMembersOnly => 322, - /// Inform user that he or she is being removed from the room + /// 332: Inform user that he or she is being removed from the room /// because the MUC service is being shut down ServiceShutdown => 332, });