summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-08-01 14:31:10 -0400
committertrilene <trilene@runbox.com>2020-08-01 14:31:10 -0400
commite3e7595babbea739c9fac12ae3da6da368f1e08e (patch)
tree99643d4339babb7476df8da82102cf1a57aa16e1 /src/timeline
parentImprove TURN server retrieval (diff)
downloadnheko-e3e7595babbea739c9fac12ae3da6da368f1e08e.tar.xz
clang-format
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/TimelineModel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index e4677f53..67e07d7b 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -796,9 +796,11 @@ TimelineModel::internalAddEvents( } else if (std::holds_alternative<mtx::events::RoomEvent< mtx::events::msg::CallCandidates>>(e_) || std::holds_alternative< - mtx::events::RoomEvent<mtx::events::msg::CallAnswer>>( e_) || + mtx::events::RoomEvent<mtx::events::msg::CallAnswer>>( + e_) || std::holds_alternative< - mtx::events::RoomEvent<mtx::events::msg::CallHangUp>>( e_)) { + mtx::events::RoomEvent<mtx::events::msg::CallHangUp>>( + e_)) { emit newCallEvent(e_); } }