Skip to content

Commit

Permalink
Fix some warnings. (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave authored Apr 13, 2022
1 parent e443736 commit 355b763
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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.

0 comments on commit 355b763

Please sign in to comment.