Skip to content
Snippets Groups Projects
Commit 7047621c authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Handle topic updates

parent e3f90b75
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,7 @@ void Room::applyEvents(const std::vector<mtx::events::collections::TimelineEvent
else if (const auto ev = boost::get<StateEvent<state::PinnedEvents>>(&e.data)) {
} else if (const auto ev = boost::get<StateEvent<state::PowerLevels>>(&e.data)) {
} else if (const auto ev = boost::get<StateEvent<state::Topic>>(&e.data)) {
this->topic = ev->content.topic;
} else if (const auto ev = boost::get<EncryptedEvent<msg::Encrypted>>(&e.data)) {
} else if (const auto ev = boost::get<RedactionEvent<msg::Redaction>>(&e.data)) {
} else if (const auto ev = boost::get<Sticker>(&e.data)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment