Add user ID of other user for direct channel rooms
ClosedPublic

Authored by alessandro on Apr 29 2020, 5:25 PM.

Diff Detail

Repository
R865 Ruqola
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 26172
Build 26190: arc lint + arc unit
alessandro requested review of this revision.Apr 29 2020, 5:25 PM
alessandro created this revision.
alessandro updated this revision to Diff 81541.Apr 29 2020, 6:58 PM

Commit message update

alessandro updated this revision to Diff 81542.Apr 29 2020, 6:59 PM

Commit message update (again)

mlaurent requested changes to this revision.Apr 29 2020, 7:27 PM

hi,
Please update autotest too
Regards

This revision now requires changes to proceed.Apr 29 2020, 7:27 PM

You missed to update "bool Room::isEqual(const Room &other) const" too
Same for QDebug operator <<(QDebug d, const Room &t)
Room *Room::fromJSon(const QJsonObject &o) needs to be update too and QByteArray Room::serialize(Room *r, bool toBinary) too

RoomWrapper too for using this new attribute.

Regards

alessandro updated this revision to Diff 81571.Apr 30 2020, 9:26 AM
  • Forward directChannelUserId to RoomWrapper and test
  • Fix autotest helper on Windows
  • Update roomtest to test Room::directChannelUserId

Still missing
"
You missed to update "bool Room::isEqual(const Room &other) const" too
Same for QDebug operator <<(QDebug d, const Room &t)
Room *Room::fromJSon(const QJsonObject &o) needs to be update too and QByteArray Room::serialize(Room *r, bool toBinary) too
"

alessandro updated this revision to Diff 81581.Apr 30 2020, 1:27 PM
  • Fix Room::serialize, operator<<(QDebug, Room), Room::isEqual
mlaurent requested changes to this revision.Apr 30 2020, 2:34 PM
mlaurent added inline comments.
src/core/room.cpp
1053

Still missing loading it from Room::fromJSon(const QJsonObject &o)

This revision now requires changes to proceed.Apr 30 2020, 2:34 PM
alessandro updated this revision to Diff 81595.Apr 30 2020, 3:10 PM
  • Fix Room::serialize, operator<<(QDebug, Room), Room::isEqual, Room::fromJson
alessandro marked an inline comment as done.Apr 30 2020, 3:14 PM
mlaurent requested changes to this revision.Apr 30 2020, 6:29 PM
125 - roommodeltest (Failed)
154 - roomfilterproxymodeltest (Failed)
This revision now requires changes to proceed.Apr 30 2020, 6:29 PM
alessandro updated this revision to Diff 81630.Apr 30 2020, 8:10 PM
  • Fix more tests
mlaurent accepted this revision.May 1 2020, 7:15 AM

Thanks :)

This revision is now accepted and ready to land.May 1 2020, 7:15 AM
alessandro updated this revision to Diff 81649.EditedMay 1 2020, 9:11 AM
  • Fix merge conflicts
alessandro updated this revision to Diff 81650.May 1 2020, 9:14 AM
  • Minor fixes: add missing newlines at end of files
mlaurent accepted this revision.May 1 2020, 10:51 AM
alessandro closed this revision.May 1 2020, 11:08 AM