clean up room_service.py
This commit is contained in:
parent
ebb8064eb9
commit
b4a7afde81
1 changed files with 3 additions and 15 deletions
|
@ -32,19 +32,7 @@ class RoomService:
|
|||
def get_room_details(self, room_id: str):
|
||||
room_details = self.room_api.get_room_details(room_id)
|
||||
if room_details:
|
||||
print(f"Room details for room {room_id}:")
|
||||
print(f"Name: {room_details.name}")
|
||||
print(f"ID: {room_details.room_id}")
|
||||
print(f"Avatar: {room_details.avatar}")
|
||||
print(f"Joined Members: {room_details.joined_members} (local: {room_details.joined_local_members})")
|
||||
print(f"Version: {room_details.version}")
|
||||
print(f"Creator: {room_details.creator}")
|
||||
print(f"Encryption: {room_details.encryption}")
|
||||
print(f"Federatable: {room_details.federatable}")
|
||||
print(f"Public: {room_details.public}")
|
||||
print(f"Join Rules: {room_details.join_rules}")
|
||||
print(f"Guest Access: {room_details.guest_access}")
|
||||
print(f"History Visibility: {room_details.history_visibility}")
|
||||
print(f"State Events: {room_details.state_events}")
|
||||
print(f"Room Type: {room_details.room_type}")
|
||||
return room_details
|
||||
else:
|
||||
print(f"Room {room_id} not found.")
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue