diff --git a/server/list.go b/server/list.go index 5c9a8e88..b6b65240 100644 --- a/server/list.go +++ b/server/list.go @@ -258,7 +258,7 @@ func (l *listManager) ChangeAssignment(issueID string, userID string, sendTo str return "", "", err } - if err := l.store.AddReference(ir.ForeignUserID, receiverIssue.ID, InListKey, userID, issue.ID); err != nil { + if err := l.store.AddReference(sendTo, receiverIssue.ID, InListKey, userID, issue.ID); err != nil { return "", "", err }