Improved activity page

This commit is contained in:
2021-11-23 15:47:25 +09:00
parent 1cf4e6a1ae
commit 0f5f18db0c
12 changed files with 113 additions and 32 deletions

View File

@ -47,7 +47,7 @@ func (item *AnimeListItem) Edit(ctx aero.Context, key string, value reflect.Valu
// Broadcast event to all users so they can reload the activity page if needed.
for receiver := range StreamUsers() {
activityEvent := event.New("activity", receiver.IsFollowing(user.ID))
activityEvent := event.New("watch activity", receiver.IsFollowing(user.ID))
receiver.BroadcastEvent(activityEvent)
}
}