Differences From Artifact [9df3447195]:
- File
src/exceptions/MTXLoginFailedException.m
— part of check-in
[17e299f073]
at
2020-10-03 21:56:23
on branch trunk
— Initial support for sync
Only sends the sync, does not do anything with the response yet. Handling the response will be implemented in the next several commits, piece by piece. (user: js, size: 2169) [annotate] [blame] [check-ins using]
To Artifact [66dad95c01]:
- File src/exceptions/MTXLoginFailedException.m — part of check-in [e597cc80e1] at 2021-04-29 00:32:30 on branch trunk — Adjust to ObjFW changes (user: js, size: 2163) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
22 23 24 25 26 27 28 | #import "MTXLoginFailedException.h" @implementation MTXLoginFailedException + (instancetype)exceptionWithUser: (OFString *)user homeserver: (OFURL *)homeserver statusCode: (int)statusCode | | | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #import "MTXLoginFailedException.h" @implementation MTXLoginFailedException + (instancetype)exceptionWithUser: (OFString *)user homeserver: (OFURL *)homeserver statusCode: (int)statusCode response: (MTXResponse)response { return [[[self alloc] initWithUser: user homeserver: homeserver statusCode: statusCode response: response] autorelease]; } - (instancetype)initWithUser: (OFString *)user homeserver: (OFURL *)homeserver statusCode: (int)statusCode response: (MTXResponse)response { self = [super init]; @try { _user = [user copy]; _homeserver = [homeserver copy]; _statusCode = statusCode; |
︙ | ︙ |