activity: more presentable cards, fixes

fixed some missing data (being stored and being shown), improved layout,
also usernames are now injected by the route.
This commit is contained in:
Harvey Tindall
2023-10-20 22:16:40 +01:00
parent a73dfddd3f
commit 1032e4e747
9 changed files with 113 additions and 43 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ type Activity struct {
UserID string // ID of target user. For account creation, this will be the newly created account
SourceType ActivitySource
Source string
InviteCode string // Only set for ActivityCreation
InviteCode string // Set for ActivityCreation, create/deleteInvite
Value string // Used for ActivityContactLinked, "email/discord/telegram/matrix", and Create/DeleteInvite, where it's the label.
Time time.Time
}