summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document-undo.cpp')
-rw-r--r--src/document-undo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index 8f1dd90ce..0f0a606a1 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -147,6 +147,9 @@ public:
: InteractionEvent(share_static_string("commit"))
{
_addProperty(share_static_string("timestamp"), timestamp());
+ gchar *serial = g_strdup_printf("%ul", doc->serial());
+ _addProperty(share_static_string("document"), serial);
+ g_free(serial);
Verb *verb = Verb::get(type);
if (verb) {
_addProperty(share_static_string("context"), verb->get_id());