Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some warnings. #1440

Merged
merged 1 commit into from
Apr 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
Construct an enumerator based on an array of event identifiers.

@param messages the list of messages to enumerate on.
@param eventIds the list of eventIds to enumerate on.
@param types an array of event types strings to use as a filter filter.
@param dataSource object responsible for translating an event identifier into
the most recent version of the event.
Expand Down
4 changes: 2 additions & 2 deletions MatrixSDK/MXRestClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ NS_REFINED_FOR_SWIFT;
- (MXHTTPOperation*)setRoomJoinRule:(NSString*)roomId
joinRule:(MXRoomJoinRule)joinRule
success:(void (^)(void))success
failure:(void (^)(NSError *error))failure NS_REFINED_FOR_SWIFT;
failure:(void (^)(NSError *error))failure NS_REFINED_FOR_SWIFT __deprecated_msg("Use [setRoomJoinRule:forRoomWithId:allowedParentIds:success:failure:] instead");

/**
Set the join rule of a room.
Expand Down Expand Up @@ -1061,7 +1061,7 @@ NS_REFINED_FOR_SWIFT;
*/
- (MXHTTPOperation*)joinRuleOfRoom:(NSString*)roomId
success:(void (^)(MXRoomJoinRule joinRule))success
failure:(void (^)(NSError *error))failure NS_REFINED_FOR_SWIFT;
failure:(void (^)(NSError *error))failure NS_REFINED_FOR_SWIFT __deprecated_msg("Use [joinRuleOfRoomWithId:success:failure:] instead");

/**
Get the enhanced join rule of a room.
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-1440.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix some warnings.