diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-11 08:05:31 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-11 08:05:31 +0900 |
commit | 1e273212eca1dfa294d1a4bb9271261bf5671aa3 (patch) | |
tree | 7880f72b387f380c529aeef6071673e4e186b9b9 /lib/csapi/list_public_rooms.h | |
parent | f438d37b169965ee0a9937b5178560a653f1197b (diff) | |
download | libquotient-1e273212eca1dfa294d1a4bb9271261bf5671aa3.tar.gz libquotient-1e273212eca1dfa294d1a4bb9271261bf5671aa3.zip |
SimpleContent: don't derive from Base as it gives zero added value
Originally there was an idea to make a common base class for all event content. Aside from really trivial unification of toJson() this doesn't span across various types of events, and since state events use static, rather than dynamic, polymorphism (StateEvent<> is a template with the aggregated content vs. RoomMessageEvent with the aggregated pointer-to-content-base), there's no considerable value in using the base class. If state events start using the same approach as message events, this may be brought back but not until then.
Diffstat (limited to 'lib/csapi/list_public_rooms.h')
0 files changed, 0 insertions, 0 deletions