summaryrefslogtreecommitdiffstats
path: root/include/TimelineView.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/TimelineView.h')
-rw-r--r--include/TimelineView.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/TimelineView.h b/include/TimelineView.h
index da73b00a..6ca91211 100644
--- a/include/TimelineView.h
+++ b/include/TimelineView.h
@@ -39,7 +39,8 @@ namespace events = matrix::events;
// Contains info about a message shown in the history view
// but not yet confirmed by the homeserver through sync.
-struct PendingMessage {
+struct PendingMessage
+{
int txn_id;
QString body;
QString event_id;
@@ -50,12 +51,12 @@ struct PendingMessage {
, body(body)
, event_id(event_id)
, widget(widget)
- {
- }
+ {}
};
// In which place new TimelineItems should be inserted.
-enum class TimelineDirection {
+enum class TimelineDirection
+{
Top,
Bottom,
};