This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d7ab7e  [OPENMEETINGS-2464] display name is used in invitation 
template
0d7ab7e is described below

commit 0d7ab7e938949c72e3b7fbca81bdb6e06366fc99
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Wed Sep 30 07:11:22 2020 +0700

    [OPENMEETINGS-2464] display name is used in invitation template
---
 .../java/org/apache/openmeetings/service/room/InvitationManager.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-service/src/main/java/org/apache/openmeetings/service/room/InvitationManager.java
 
b/openmeetings-service/src/main/java/org/apache/openmeetings/service/room/InvitationManager.java
index 4f8d2e3..4f594f3 100644
--- 
a/openmeetings-service/src/main/java/org/apache/openmeetings/service/room/InvitationManager.java
+++ 
b/openmeetings-service/src/main/java/org/apache/openmeetings/service/room/InvitationManager.java
@@ -107,7 +107,7 @@ public class InvitationManager implements 
IInvitationManager {
                }
                User owner = i.getInvitedBy();
 
-               String invitorName = owner.getFirstname() + " " + 
owner.getLastname();
+               String invitorName = owner.getDisplayName();
                String template = InvitationTemplate.getEmail(i.getInvitee(), 
invitorName, message, invitationLink);
                String email = i.getInvitee().getAddress().getEmail();
                String replyToEmail = owner.getAddress().getEmail();

Reply via email to