Another shadowed variable
This commit is contained in:
parent
02163636a6
commit
fac28bac1a
@ -270,9 +270,10 @@ handle_olm_message(const OlmMessage &msg)
|
|||||||
} else if (auto roomKey =
|
} else if (auto roomKey =
|
||||||
std::get_if<DeviceEvent<msg::RoomKey>>(&device_event)) {
|
std::get_if<DeviceEvent<msg::RoomKey>>(&device_event)) {
|
||||||
create_inbound_megolm_session(*roomKey, msg.sender_key);
|
create_inbound_megolm_session(*roomKey, msg.sender_key);
|
||||||
} else if (auto roomKey = std::get_if<DeviceEvent<msg::ForwardedRoomKey>>(
|
} else if (auto forwardedRoomKey =
|
||||||
|
std::get_if<DeviceEvent<msg::ForwardedRoomKey>>(
|
||||||
&device_event)) {
|
&device_event)) {
|
||||||
import_inbound_megolm_session(*roomKey);
|
import_inbound_megolm_session(*forwardedRoomKey);
|
||||||
} else if (auto e =
|
} else if (auto e =
|
||||||
std::get_if<DeviceEvent<msg::SecretSend>>(&device_event)) {
|
std::get_if<DeviceEvent<msg::SecretSend>>(&device_event)) {
|
||||||
auto local_user = http::client()->user_id();
|
auto local_user = http::client()->user_id();
|
||||||
|
Loading…
Reference in New Issue
Block a user