aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/notifications.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-21 20:06:29 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-21 20:09:01 +0900
commitd3f1f39dafc87ce5b4654ac2a9b21df53dad1a4b (patch)
tree3f66a5700db17013771d83a1bcab6a7be2e24cf9 /lib/csapi/notifications.h
parentb71baf486dc276ad616e3c7b46f44b4cafb62f40 (diff)
downloadlibquotient-d3f1f39dafc87ce5b4654ac2a9b21df53dad1a4b.tar.gz
libquotient-d3f1f39dafc87ce5b4654ac2a9b21df53dad1a4b.zip
csapi: Fix indentaton of data structures inside job classes
Diffstat (limited to 'lib/csapi/notifications.h')
-rw-r--r--lib/csapi/notifications.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/csapi/notifications.h b/lib/csapi/notifications.h
index 25db7052..4edb9c3e 100644
--- a/lib/csapi/notifications.h
+++ b/lib/csapi/notifications.h
@@ -29,20 +29,20 @@ namespace QMatrixClient
/// user has been, or would have been notified about.
struct Notification
{
- /// The action(s) to perform when the conditions for this rule are met.
- /// See `Push Rules: API`_.
+ /// The action(s) to perform when the conditions for this rule are met.
+ /// See `Push Rules: API`_.
QVector<QVariant> actions;
- /// The Event object for the event that triggered the notification.
+ /// The Event object for the event that triggered the notification.
EventPtr event;
- /// The profile tag of the rule that matched this event.
+ /// The profile tag of the rule that matched this event.
QString profileTag;
- /// Indicates whether the user has sent a read receipt indicating
- /// that they have read this message.
+ /// Indicates whether the user has sent a read receipt indicating
+ /// that they have read this message.
bool read;
- /// The ID of the room in which the event was posted.
+ /// The ID of the room in which the event was posted.
QString roomId;
- /// The unix timestamp at which the event notification was sent,
- /// in milliseconds.
+ /// The unix timestamp at which the event notification was sent,
+ /// in milliseconds.
qint64 ts;
};