aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolmsession.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-05 13:58:47 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-08 17:43:58 +0200
commit4070706fcc91cd46054b00c5f3a267a9d8c44fb7 (patch)
tree982d14ed069580596af9b690d83b950b8700781e /lib/e2ee/qolmsession.h
parentd271a171dbec4068e43e8f711d5d2e966a2072ac (diff)
downloadlibquotient-4070706fcc91cd46054b00c5f3a267a9d8c44fb7.tar.gz
libquotient-4070706fcc91cd46054b00c5f3a267a9d8c44fb7.zip
Event content: provide toJson() instead of deriving from EC::Base
EventContent::Base has been made primarily for the sake of dynamic polymorphism needed within RoomMessageEvent content (arguably, it might not be really needed even there, but that's a bigger matter for another time). When that polymorphism is not needed, it's easier for reading and maintenance to have toJson() member function (or even specialise JsonConverter<> outside of the content structure) instead of deriving from EC::Base and then still having fillJson() member function. This commit removes EventContent::Base dependency where it's not beneficial.
Diffstat (limited to 'lib/e2ee/qolmsession.h')
0 files changed, 0 insertions, 0 deletions