Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user events for supporter and username changes #3222

Merged
merged 10 commits into from
May 18, 2018

Conversation

notbakaneko
Copy link
Collaborator

fixes #3173

{
return [
'id' => $user->getKey(),
'username' => $user->username,

This comment was marked as off-topic.

$user = static::userParams($options['user']);
$history = $options['history'];
$params = [
'text' => "<b><a href='{$user['url']}'>{$history->username_last}</a></b> has changed their username to {$history->username}!",

This comment was marked as off-topic.

$params = [
'text' => "<b><a href='{$user['url']}'>{$oldUsername}</a></b> has changed their username to {$newUsername}!",
'user_id' => $user['id'],
'date' => $history->timestamp,

This comment was marked as off-topic.

This comment was marked as off-topic.

@nanaya nanaya merged commit 86bfb28 into ppy:master May 18, 2018
@notbakaneko notbakaneko deleted the feature/store/supporter-add-event branch June 13, 2018 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supporter tags and username changes aren't displaying recent events in profile
3 participants