openvibers/openvibe.network Commits
Follow notification links to the follower's channel (openvibe.live/@<username>); it linked to openvibe.network/user/<name>, a page Network never had (a 404 since unknown paths stopped answering the account page)
Changes
@@@ -808,7 +808,7 @@ router.post('/users/:id/follow', requireAuth, (req, res) => {sender_id: req.user.id,sender_name: req.user.display_name || req.user.username,sender_avatar: req.user.avatar_url,-- url: `https://openvibe.network/user/${req.user.username}`,++ url: `https://openvibe.live/@${encodeURIComponent(req.user.username)}`, // the follower's channel (Network has no public profile page)service: 'network',});}
@@ -808,7 +808,7 @@ router.post('/users/:id/follow', requireAuth, (req, res) => {
@@ -808,7 +808,7 @@ router.post('/users/:id/follow', requireAuth, (req, res) => {
sender_id: req.user.id,
sender_id: req.user.id,
sender_name: req.user.display_name || req.user.username,
sender_name: req.user.display_name || req.user.username,
sender_avatar: req.user.avatar_url,
sender_avatar: req.user.avatar_url,
- url: `https://openvibe.network/user/${req.user.username}`,
+ url: `https://openvibe.live/@${encodeURIComponent(req.user.username)}`, // the follower's channel (Network has no public profile page)
service: 'network',
service: 'network',
});
});
}
}