ror() will be &quot;BAD_MESSAGE_VERSION&quot;. If the message couldn't be decoded then then olm_session_last_error() will be &quot;BAD_MESSAGE_FORMAT&quot;.</p></dd></dl><dl><dt class="spec value" id="val-matches_inbound_session_from"><a href="#val-matches_inbound_session_from" class="anchor"></a><code><span class="keyword">val</span> matches_inbound_session_from : <span><a href="../Types/Session/index.html#type-t">Types.Session.t</a> Ctypes_static.ptr</span> <span>&#45;&gt;</span> <span>unit Ctypes_static.