diff options
author | Vitaly Takmazov | 2019-09-19 12:47:35 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-09-19 12:47:35 +0300 |
commit | 289afd5a0b510e4501cf421dd9a05bb53bc424c3 (patch) | |
tree | 472c46bf06c3754526bb272f9bf334cd77e9387f /src/main/java/com/juick/server/ServerManager.java | |
parent | d040ad6d6270c4aa269eeee741c8caac2145d626 (diff) |
Send only Message to events email
Diffstat (limited to 'src/main/java/com/juick/server/ServerManager.java')
-rw-r--r-- | src/main/java/com/juick/server/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/ServerManager.java b/src/main/java/com/juick/server/ServerManager.java index a226bf29..5b859125 100644 --- a/src/main/java/com/juick/server/ServerManager.java +++ b/src/main/java/com/juick/server/ServerManager.java @@ -112,7 +112,7 @@ public class ServerManager implements NotificationListener { } messageEvent(jmsg, Collections.singletonList(serviceUser)); try { - emailManager.sendEmail("noreply@juick.com", serviceEmail, "New event", jsonMapper.writeValueAsString(event), null, Collections.emptyMap()); + emailManager.sendEmail("noreply@juick.com", serviceEmail, "New message", jsonMapper.writeValueAsString(jmsg), null, Collections.emptyMap()); } catch (JsonProcessingException e) { logger.warn("JSON exception", e); } |