From e3a9e8a42bf980751db5f75c63ef9e17ab1ea8dc Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 25 Dec 2017 12:55:10 +0300 Subject: add email from facebook --- juick-server-core/src/main/java/com/juick/service/EmailService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'juick-server-core/src/main/java') diff --git a/juick-server-core/src/main/java/com/juick/service/EmailService.java b/juick-server-core/src/main/java/com/juick/service/EmailService.java index 369434e7..ac63f4da 100644 --- a/juick-server-core/src/main/java/com/juick/service/EmailService.java +++ b/juick-server-core/src/main/java/com/juick/service/EmailService.java @@ -25,7 +25,8 @@ import java.util.List; public interface EmailService { boolean verifyAddressByCode(Integer userId, String code); boolean addVerificationCode(Integer userId, String account, String code); + boolean addEmail(Integer userId, String email); boolean deleteEmail(Integer userId, String account); boolean setNotificationsEmail(Integer userId, String account); - List getEmails(Integer userId); + List getEmails(Integer userId, boolean active); } -- cgit v1.2.3