++Strette di Mano
This commit is contained in:
@@ -214,17 +214,17 @@ sendNotifSchema.statics.getDescrAndLinkByRecNotif = async function (recnotif) {
|
||||
} else if (recnotif.typedir === shared_consts.TypeNotifs.TYPEDIR_HANDSHAKE) {
|
||||
recnotif.openUrl = '/my/' + userorig;
|
||||
if (recnotif.typeid === shared_consts.TypeNotifs.ID_HANDSHAKE_NEW_REC) {
|
||||
newdescr = i18n.__('<strong>%s</strong> asked you for HandShake', userorig, mydescr);
|
||||
tag = 'newfriend';
|
||||
newdescr = i18n.__('<strong>%s</strong> asked you HandShake', userorig, mydescr);
|
||||
tag = 'newhandshake';
|
||||
} else if (recnotif.typeid === shared_consts.TypeNotifs.ID_HANDSHAKE_ACCEPTED) {
|
||||
newdescr = i18n.__('<strong>%s</strong> accepted your HandShake', userorig, mydescr);
|
||||
tag = 'acceptedfriend';
|
||||
tag = 'acceptedhandshake';
|
||||
} else if (recnotif.typeid === shared_consts.TypeNotifs.ID_HANDSHAKE_ACCEPTED_MY_REQUEST) {
|
||||
newdescr = i18n.__('✅ You have accepted %s\' HandShake request!', userorig, mydescr);
|
||||
tag = 'acceptedfriend';
|
||||
newdescr = i18n.__('✅ You have accepted %s HandShake request!', userorig, mydescr);
|
||||
tag = 'acceptedhandshake';
|
||||
} else if (recnotif.typeid === shared_consts.TypeNotifs.ID_HANDSHAKE_REFUSED) {
|
||||
newdescr = i18n.__('<strong>%s</strong> refused your HandShake', userorig, mydescr);
|
||||
tag = 'refusedfriend';
|
||||
tag = 'refusedhandshake';
|
||||
}
|
||||
} else if (recnotif.typedir === shared_consts.TypeNotifs.TYPEDIR_GROUPS) {
|
||||
tag = 'group';
|
||||
|
||||
Reference in New Issue
Block a user