File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ def build_dm_conversation(
7272 (p for p in participants .values () if p .id != user_id ), None
7373 )
7474
75- # If we don't have the other participant from messages, try to get it from room memberships
75+ # If we don't have the other participant from messages, try to get it from room
76+ # memberships
7677 if other_participant is None and client is not None :
7778 try :
7879 memberships = client .memberships .list (roomId = convo_msgs [0 ].space_id )
@@ -84,7 +85,8 @@ def build_dm_conversation(
8485 break
8586 except Exception as e :
8687 logger .warning (
87- f"Could not fetch room memberships for space { convo_msgs [0 ].space_id } : { e } "
88+ "Could not fetch room memberships for space "
89+ f"{ convo_msgs [0 ].space_id } : { e } "
8890 )
8991
9092 slug = slugify (other_participant .display_name if other_participant else "unknown" )
You can’t perform that action at this time.
0 commit comments