Commit 98702cd
committed
model: Expect the absence of newTopic for certain moves.
As noted in:
zulip#787 (review)
There is an discrepency between the API docs and the actual server
behavior on the presence of the "new_topic" field on the update message
event. While it was claimed to be always present when a move occurs, it
is actually not the case when the message moves across channels without
chaning its topic.
Signed-off-by: Zixuan James Li <zixuan@zulip.com>1 parent 726ccb6 commit 98702cd
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
172 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
0 commit comments