Commit a840226
authored
fix: [REACT-353] unify pinned_at & archived_at nullish values (#1516)
## Description of the changes, What, Why and How?
Event handler for `member.updated` receives a `member` object which
contains `archived_at` and `pinned_at` with `null` values if
unarchive/unpin actions are called - to make matters for our integrators
easier, the only nullish value for these would be `undefined`. I'll keep
the types unchanged (#1515) as the `ChannelMemberResponse` used in the
`Event` type is still correct.1 parent e4f7e68 commit a840226
2 files changed
Lines changed: 69 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1618 | 1618 | | |
1619 | 1619 | | |
1620 | 1620 | | |
1621 | | - | |
1622 | | - | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1623 | 1635 | | |
1624 | 1636 | | |
1625 | | - | |
| 1637 | + | |
1626 | 1638 | | |
1627 | 1639 | | |
1628 | 1640 | | |
| 1641 | + | |
1629 | 1642 | | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
1633 | 1646 | | |
1634 | | - | |
| 1647 | + | |
1635 | 1648 | | |
1636 | 1649 | | |
| 1650 | + | |
1637 | 1651 | | |
1638 | 1652 | | |
1639 | 1653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 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 | + | |
211 | 258 | | |
212 | 259 | | |
213 | 260 | | |
| |||
0 commit comments