Skip to content
Snippets Groups Projects
Commit 098df3d6 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

minor interface improvements for auth

parent 9f034c89
No related branches found
No related tags found
3 merge requests!510Release,!207WIP: Client Restructure,!203Symmetric broadcast
......@@ -57,7 +57,7 @@ type State interface {
// This will not be useful if either side has ratcheted
ReplayConfirm(partner *id.ID) (id.Round, error)
// ReplayRequests will iterate through all pending contact requests and replay
// them on the callbacks.
ReplayRequests()
// CallReceivedRequests will iterate through all pending contact requests
// and replay them on the callbacks.
CallReceivedRequests()
}
......@@ -112,9 +112,9 @@ func NewStateLegacy(kv *versioned.KV, net cmix.Client, e2e e2e.Handler,
return s, nil
}
// ReplayRequests will iterate through all pending contact requests and replay
// CallReceivedRequests will iterate through all pending contact requests and replay
// them on the callbacks.
func (s *state) ReplayRequests() {
func (s *state) CallReceivedRequests() {
rrList := s.store.GetAllReceivedRequests()
for i := range rrList {
rr := rrList[i]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment