Differences From Artifact [4d0e5a29bd]:
- File
src/exceptions/MTXSendMessageFailedException.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: 2330) [annotate] [blame] [check-ins using]
To Artifact [7a18d8f50a]:
- File src/exceptions/MTXSendMessageFailedException.m — part of check-in [e597cc80e1] at 2021-04-29 00:32:30 on branch trunk — Adjust to ObjFW changes (user: js, size: 2324) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | #import "MTXClient.h" @implementation MTXSendMessageFailedException + (instancetype)exceptionWithMessage: (OFString *)message roomID: (OFString *)roomID statusCode: (int)statusCode | | | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | #import "MTXClient.h" @implementation MTXSendMessageFailedException + (instancetype)exceptionWithMessage: (OFString *)message roomID: (OFString *)roomID statusCode: (int)statusCode response: (MTXResponse)response client: (MTXClient *)client { return [[[self alloc] initWithMessage: message roomID: roomID statusCode: statusCode response: response client: client] autorelease]; } - (instancetype)initWithMessage: (OFString *)message roomID: (OFString *)roomID statusCode: (int)statusCode response: (MTXResponse)response client: (MTXClient *)client { self = [super initWithStatusCode: statusCode response: response client: client]; @try { |
︙ | ︙ |