2016-08-08 11:18:21 +09:00
|
|
|
import Telescope from 'meteor/nova:lib';
|
2016-06-23 15:00:58 +09:00
|
|
|
import Users from './collection.js';
|
2016-12-12 15:00:56 +09:00
|
|
|
import { Utils, getSetting } from 'meteor/nova:lib';
|
2016-06-15 11:07:10 +09:00
|
|
|
|
2016-04-13 11:39:01 +09:00
|
|
|
Users.getNotificationProperties = function (user) {
|
|
|
|
const properties = {
|
|
|
|
profileUrl: Users.getProfileUrl(user),
|
2016-09-21 12:37:26 +02:00
|
|
|
displayName: Users.getDisplayName(user),
|
2016-12-12 15:00:56 +09:00
|
|
|
siteTitle: getSetting('title'),
|
2016-12-12 11:34:28 +09:00
|
|
|
siteUrl: Utils.getSiteUrl()
|
2016-04-13 11:39:01 +09:00
|
|
|
};
|
|
|
|
return properties;
|
|
|
|
};
|