File tree 1 file changed +3
-3
lines changed
bindings/matrix-sdk-ffi/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ pub enum RoomListError {
46
46
TimelineAlreadyExists { room_name : String } ,
47
47
#[ error( "A timeline instance hasn't been initialized for room {room_name}" ) ]
48
48
TimelineNotInitialized { room_name : String } ,
49
- #[ error( "Timeline couldn't be initialized: {message }" ) ]
50
- InitializingTimeline { message : String } ,
49
+ #[ error( "Timeline couldn't be initialized: {error }" ) ]
50
+ InitializingTimeline { error : String } ,
51
51
}
52
52
53
53
impl From < matrix_sdk_ui:: room_list_service:: Error > for RoomListError {
@@ -63,7 +63,7 @@ impl From<matrix_sdk_ui::room_list_service::Error> for RoomListError {
63
63
Self :: TimelineAlreadyExists { room_name : room_id. to_string ( ) }
64
64
}
65
65
InitializingTimeline ( source) => {
66
- Self :: InitializingTimeline { message : source. to_string ( ) }
66
+ Self :: InitializingTimeline { error : source. to_string ( ) }
67
67
}
68
68
}
69
69
}
You can’t perform that action at this time.
0 commit comments