Adjust to ObjFW changes

FossilOrigin-Name: e597cc80e1537bae3544bccd7b55dbdf963bc846184521ac9bd0e2e82aa695f0
This commit is contained in:
Jonathan Schleifer 2021-04-29 00:32:30 +00:00
parent 96f6425bfc
commit 0166881d65
18 changed files with 106 additions and 128 deletions

View file

@ -31,20 +31,20 @@ OF_ASSUME_NONNULL_BEGIN
@property (readonly, nonatomic) OFString *roomID;
+ (instancetype)exceptionWithStatusCode: (int)statusCode
response: (mtx_response_t)response
response: (MTXResponse)response
client: (MTXClient *)client OF_UNAVAILABLE;
+ (instancetype)exceptionWithMessage: (OFString *)message
roomID: (OFString *)roomID
statusCode: (int)statusCode
response: (mtx_response_t)response
response: (MTXResponse)response
client: (MTXClient *)client;
- (instancetype)initWithStatusCode: (int)statusCode
response: (mtx_response_t)response
response: (MTXResponse)response
client: (MTXClient *)client OF_UNAVAILABLE;
- (instancetype)initWithMessage: (OFString *)message
roomID: (OFString *)roomID
statusCode: (int)statusCode
response: (mtx_response_t)response
response: (MTXResponse)response
client: (MTXClient *)client OF_DESIGNATED_INITIALIZER;
@end