Update convertRawThreadInfoToClientDBThreadInfo and convertClientDBThreadInfoToRawThreadInfo to accomodate avatar field.
Details
Details
- Set breakpoints and logged output of both functions in my local environment.
- Made sure that we DON'T set avatar: null in RawThreadInfo if avatar is null on the SQLite side, we instead exclude it entirely.
Will also write some quick unit tests as a sanity check.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/types/thread-types.js | ||
---|---|---|
305 ↗ | (On Diff #24619) | This was incorrect, ClientDB*Info types should only have (?)string/(?)number fields. |