mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 15:04:33 +08:00
Add previous username to notification
This commit is contained in:
@@ -129,7 +129,7 @@ const setupFunctions = {
|
||||
}
|
||||
return !args.user_id || user.id === args.user_id;
|
||||
},
|
||||
usernameChanged: (options, args, user, context) => {
|
||||
usernameChanged: (options, args, { user }, context) => {
|
||||
if (
|
||||
!context.user ||
|
||||
(args.user_id !== user.id &&
|
||||
|
||||
Reference in New Issue
Block a user