Messages: Output only the first user name

This commit is contained in:
Ilya Prokopenko 2022-06-01 18:05:57 +03:00
parent b32ad042d7
commit 97444315e4
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56

View file

@ -181,7 +181,7 @@
"sender": { "sender": {
"link": {$thisUser->getURL()}, "link": {$thisUser->getURL()},
"avatar": {$thisUser->getAvatarUrl()}, "avatar": {$thisUser->getAvatarUrl()},
"name": {$thisUser->getFullName()} "name": {$thisUser->getFirstName()}
}, },
"timing": { "timing": {
"sent": window.API.Service.getTime(), "sent": window.API.Service.getTime(),
@ -199,7 +199,7 @@
"sender": { "sender": {
"link": {$correspondent->getURL()}, "link": {$correspondent->getURL()},
"avatar": {$correspondent->getAvatarUrl()}, "avatar": {$correspondent->getAvatarUrl()},
"name": {$correspondent->getFullName()} "name": {$correspondent->getFirstName()}
}, },
"timing": { "timing": {
"sent": window.API.Service.getTime(), "sent": window.API.Service.getTime(),