@@ -465,6 +465,17 @@ if (Meteor.isServer) {
// list is deleted
title: doc.title,
});
+ } else {
+ Activities.insert({
+ userId,
+ type: 'list',
+ activityType: 'restoredList',
+ listId: doc._id,
+ boardId: doc.boardId,
+ // this preserves the name so that the activity can be useful after the
+ // list is deleted
+ title: doc.title,
+ });
}