Fix refactored calls
This commit is contained in:
@@ -223,7 +223,7 @@ public class InvitationManager {
|
|||||||
IThreePidInviteReply reply = new ThreePidInviteReply(invId, invitation, token, displayName);
|
IThreePidInviteReply reply = new ThreePidInviteReply(invId, invitation, token, displayName);
|
||||||
|
|
||||||
log.info("Performing invite to {}:{}", invitation.getMedium(), invitation.getAddress());
|
log.info("Performing invite to {}:{}", invitation.getMedium(), invitation.getAddress());
|
||||||
notifMgr.send(reply);
|
notifMgr.sendForInvite(reply);
|
||||||
|
|
||||||
log.info("Storing invite under ID {}", invId);
|
log.info("Storing invite under ID {}", invId);
|
||||||
storage.insertInvite(reply);
|
storage.insertInvite(reply);
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ public class ThreePidSession implements IThreePidSession {
|
|||||||
|
|
||||||
private String id;
|
private String id;
|
||||||
private Instant timestamp;
|
private Instant timestamp;
|
||||||
private String hash;
|
|
||||||
private String server;
|
private String server;
|
||||||
private ThreePid tPid;
|
private ThreePid tPid;
|
||||||
private String secret;
|
private String secret;
|
||||||
@@ -66,7 +65,6 @@ public class ThreePidSession implements IThreePidSession {
|
|||||||
this.token = token;
|
this.token = token;
|
||||||
|
|
||||||
this.timestamp = Instant.now();
|
this.timestamp = Instant.now();
|
||||||
this.hash = server.toLowerCase() + tPid.getMedium().toLowerCase() + tPid.getAddress().toLowerCase() + secret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -74,11 +72,6 @@ public class ThreePidSession implements IThreePidSession {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getHash() {
|
|
||||||
return hash;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Instant getCreationTime() {
|
public Instant getCreationTime() {
|
||||||
return timestamp;
|
return timestamp;
|
||||||
|
|||||||
Reference in New Issue
Block a user