Differences From Artifact [fbae956347]:
- File
src/MTXClient.m
— part of check-in
[d18fbd29fb]
at
2020-10-03 17:23:45
on branch trunk
— Get rid of async prefix
All operations are async anyway. (user: js, size: 6760) [annotate] [blame] [check-ins using]
To Artifact [69f2cc536e]:
- File src/MTXClient.m — part of check-in [b1d8afb546] at 2020-10-03 17:40:47 on branch trunk — Add support for joining rooms (user: js, size: 7683) [annotate] [blame] [check-ins using]
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + | * POSSIBILITY OF SUCH DAMAGE. */ #import "MTXClient.h" #import "MTXRequest.h" #import "MTXFetchRoomListFailedException.h" #import "MTXJoinRoomFailedException.h" #import "MTXLoginFailedException.h" #import "MTXLogoutFailedException.h" static void validateHomeserver(OFURL *homeserver) { if (![homeserver.scheme isEqual: @"http"] && |
︙ | |||
197 198 199 200 201 202 203 | 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | - - - + + + | if (exception != nil) { block(exception); return; } if (statusCode != 200) { block([MTXLogoutFailedException |
︙ | |||
223 224 225 226 227 228 229 | 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | if (exception != nil) { block(nil, exception); return; } if (statusCode != 200) { block(nil, [MTXFetchRoomListFailedException |