Fix refactored calls
This commit is contained in:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user