Show signatures into admin lookup queries
This commit is contained in:
@@ -22,6 +22,9 @@ package io.kamax.mxisd.http.io.identity;
|
||||
|
||||
import io.kamax.mxisd.lookup.SingleLookupReply;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class SingeLookupReplyJson {
|
||||
|
||||
private String address;
|
||||
@@ -30,6 +33,7 @@ public class SingeLookupReplyJson {
|
||||
private long not_after;
|
||||
private long not_before;
|
||||
private long ts;
|
||||
private Map<String, Map<String, String>> signatures = new HashMap<>();
|
||||
|
||||
public SingeLookupReplyJson(SingleLookupReply reply) {
|
||||
this.address = reply.getRequest().getThreePid();
|
||||
@@ -64,4 +68,8 @@ public class SingeLookupReplyJson {
|
||||
return ts;
|
||||
}
|
||||
|
||||
public Map<String, Map<String, String>> getSignatures() {
|
||||
return signatures;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user