Do not create User class on heap
ClosedPublic

Authored by kfunk on Feb 12 2020, 3:28 PM.

Details

Summary

Simplifies memory management when using this type. The app is taking
care of e.g. updating the user status of a user in all models already.
(cf. follow userStatusChanged signal uses)

Diff Detail

Repository
R865 Ruqola
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk requested review of this revision.Feb 12 2020, 3:28 PM
kfunk created this revision.
mlaurent accepted this revision.Feb 12 2020, 8:44 PM
This revision is now accepted and ready to land.Feb 12 2020, 8:44 PM
This revision was automatically updated to reflect the committed changes.