Fix refactored calls

This commit is contained in:
Maxime Dor
2017-09-20 17:24:21 +02:00
parent bf2afd8739
commit 88cefeabbf
2 changed files with 1 additions and 8 deletions

View File

@@ -223,7 +223,7 @@ public class InvitationManager {
IThreePidInviteReply reply = new ThreePidInviteReply(invId, invitation, token, displayName);
log.info("Performing invite to {}:{}", invitation.getMedium(), invitation.getAddress());
notifMgr.send(reply);
notifMgr.sendForInvite(reply);
log.info("Storing invite under ID {}", invId);
storage.insertInvite(reply);

View File

@@ -34,7 +34,6 @@ public class ThreePidSession implements IThreePidSession {
private String id;
private Instant timestamp;
private String hash;
private String server;
private ThreePid tPid;
private String secret;
@@ -66,7 +65,6 @@ public class ThreePidSession implements IThreePidSession {
this.token = token;
this.timestamp = Instant.now();
this.hash = server.toLowerCase() + tPid.getMedium().toLowerCase() + tPid.getAddress().toLowerCase() + secret;
}
@Override
@@ -74,11 +72,6 @@ public class ThreePidSession implements IThreePidSession {
return id;
}
@Override
public String getHash() {
return hash;
}
@Override
public Instant getCreationTime() {
return timestamp;