Selectively show the additional metadata if it isn't in the display string at all

This commit is contained in:
DaneEveritt 2022-06-12 15:30:49 -04:00
parent 88987fb6c7
commit 68a654f9e8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 33 additions and 7 deletions

View file

@ -25,6 +25,7 @@ interface ActivityLog extends Model<'actor'> {
ip: string;
description: string | null;
properties: Record<string, string | unknown>;
hasAdditionalMetadata: boolean;
timestamp: Date;
relationships: {
actor: User | null;