Skip to content

Commit

Permalink
Fix some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Apr 13, 2022
1 parent e443736 commit 5ea8b58
Show file tree
Hide file tree
Showing 2 changed files with 3 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

0 comments on commit 5ea8b58

Please sign in to comment.