You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any chance of an example pulling in room information like it's name? The API isn't exactly easy to use / understand with the mixed layers of abstraction (I think some of this the complexities of Matrix). There also doesn't appear to be any documentation about any of this stuff.
Here was my best guess which was... wrong. Horribly wrong.
for (mtx::events::collections::StateEvents &ev : room.state.events)
if (auto event = std::get_if<mtx::events::StateEvent<mtx::identifiers::Room>>(&ev);
event != nullptr)
{
joinedMsg.AddString("chat_name", event->content.name.c_str());
}
The text was updated successfully, but these errors were encountered:
Any chance of an example pulling in room information like it's name? The API isn't exactly easy to use / understand with the mixed layers of abstraction (I think some of this the complexities of Matrix). There also doesn't appear to be any documentation about any of this stuff.
Here was my best guess which was... wrong. Horribly wrong.
The text was updated successfully, but these errors were encountered: