activity: render all activities correctly
the activity type, usernames, time, referrer, and invite code are displayed correctly for all types of activity.
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ type Activity struct {
|
||||
SourceType ActivitySource
|
||||
Source string
|
||||
InviteCode string // Set for ActivityCreation, create/deleteInvite
|
||||
Value string // Used for ActivityContactLinked, "email/discord/telegram/matrix", and Create/DeleteInvite, where it's the label.
|
||||
Value string // Used for ActivityContactLinked where it's "email/discord/telegram/matrix", Create/DeleteInvite, where it's the label, and Creation/Deletion, where it's the Username.
|
||||
Time time.Time
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user