0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️:room: Fix exception coming out of loop.

This commit is contained in:
Jason Volk 2018-04-11 17:32:44 -07:00
parent 4db39a1bcb
commit 8011b7dd9f

View file

@ -883,7 +883,7 @@ const
};
bool ret{false};
state.get("m.room.member", member, [&view, &ret]
state.get(std::nothrow, "m.room.member", member, [&view, &ret]
(const m::event &event)
{
ret = view(event);