strette di mano
This commit is contained in:
@@ -174,6 +174,19 @@ export default function () {
|
||||
descr += '( ' + $t('movement.causal') + ': ' + notif.extrarec.causal + ')'
|
||||
}
|
||||
}
|
||||
} else if (notif.typedir === shared_consts.TypeNotifs.TYPEDIR_HANDSHAKE) {
|
||||
if (notif.status === shared_consts.StatusNotifs.STATUS_HANDSHAKE_ACCEPTED) {
|
||||
descr += '<br><em>' + $t('handshake.accepted') + '</em>'
|
||||
} else if (notif.status === shared_consts.StatusNotifs.STATUS_HANDSHAKE_REFUSED) {
|
||||
descr += '<br><em>' + $t('handshake.refused') + '</em>'
|
||||
}
|
||||
} else if (notif.typedir === shared_consts.TypeNotifs.TYPEDIR_CIRCUITS) {
|
||||
if (notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ) {
|
||||
// console.log('notif.extrarec', notif.extrarec)
|
||||
if (notif.extrarec && notif.extrarec.hasOwnProperty('causal') && notif.extrarec.causal) {
|
||||
descr += '( ' + $t('movement.causal') + ': ' + notif.extrarec.causal + ')'
|
||||
}
|
||||
}
|
||||
} else if (notif.typedir === shared_consts.TypeNotifs.TYPEDIR_GROUPS) {
|
||||
if (notif.status === shared_consts.GroupsNotifs.STATUS_GROUPS_ACCEPTED) {
|
||||
descr += '<br><em>' + $t('groups.accepted') + '</em>'
|
||||
|
||||
Reference in New Issue
Block a user