Overview
Comment: | Get rid of async prefix
All operations are async anyway. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d18fbd29fb7caa8dc87cc31caee4f2b6 |
User & Date: | js on 2020-10-03 17:23:45 |
Other Links: | manifest | tags |
Context
2020-10-03
| ||
17:40 | Add support for joining rooms check-in: b1d8afb546 user: js tags: trunk | |
17:23 | Get rid of async prefix check-in: d18fbd29fb user: js tags: trunk | |
17:20 | More validation of server responses check-in: 71e1a46c8f user: js tags: trunk | |
Changes
Modified src/MTXClient.h from [fa482021bd] to [4d54398092].
︙ | |||
112 113 114 115 116 117 118 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | - + - + | /** * @brief Logs out the device and invalidates the access token. * * @warning The client can no longer be used after this succeeded! * * @param block A block to call when logging out succeeded or failed */ |
Modified src/MTXClient.m from [2e0008f3e6] to [fbae956347].
︙ | |||
74 75 76 77 78 79 80 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | - - + + | @"identifier": @{ @"type": @"m.id.user", @"user": user }, @"password": password }; |
︙ | |||
182 183 184 185 186 187 188 | 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | - + - - + + - + - - + + | - (MTXRequest *)requestWithPath: (OFString *)path { return [MTXRequest requestWithPath: path accessToken: _accessToken homeserver: _homeserver]; } |
︙ |
Modified src/MTXRequest.h from [2eb6986a25] to [c05bb8879a].
︙ | |||
102 103 104 105 106 107 108 | 102 103 104 105 106 107 108 109 110 111 112 | - + | /** * @brief Performs the request and calls the specified block once the request * succeeded or failed. * * @param block The block to call once the request succeeded or failed */ |
Modified src/MTXRequest.m from [8a0c920770] to [3b4c617815].
︙ | |||
83 84 85 86 87 88 89 | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | - + | - (OFDictionary<OFString *, id> *)body { return [OFString stringWithUTF8String: _body.items length: _body.count] .objectByParsingJSON; } |
︙ |
Modified tests/tests.m from [e5d8332c51] to [a0b40aeb42].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | - - + + - + | [self fetchRoomList]; }]; } - (void)fetchRoomList { |
︙ |