mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Try to fix windows build
This commit is contained in:
parent
57a6c05eab
commit
392d7d5568
1 changed files with 3 additions and 3 deletions
|
@ -112,9 +112,9 @@ EventStore::EventStore(std::string room_id, QObject *)
|
|||
}
|
||||
|
||||
emit messageSent(txn_id, event_id.event_id.to_string());
|
||||
if constexpr (mtx::events::message_content_to_type<
|
||||
decltype(e.content)> ==
|
||||
mtx::events::EventType::RoomEncrypted) {
|
||||
if constexpr (std::is_same_v<
|
||||
decltype(e.content),
|
||||
mtx::events::msg::Encrypted>) {
|
||||
auto event =
|
||||
decryptEvent({room_id_, e.event_id}, e);
|
||||
if (auto dec =
|
||||
|
|
Loading…
Reference in a new issue