aboutsummaryrefslogtreecommitdiffstats
path: root/modules/migration/comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migration/comment.go')
-rw-r--r--modules/migration/comment.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/migration/comment.go b/modules/migration/comment.go
index 234fea3e82..36277129d9 100644
--- a/modules/migration/comment.go
+++ b/modules/migration/comment.go
@@ -18,3 +18,9 @@ type Comment struct {
Content string
Reactions []*Reaction
}
+
+// GetExternalName ExternalUserMigrated interface
+func (c *Comment) GetExternalName() string { return c.PosterName }
+
+// ExternalID ExternalUserMigrated interface
+func (c *Comment) GetExternalID() int64 { return c.PosterID }