sync : fixed typo preventing consuming beacons from non-sync sessions
authorEdouard Tisserant <edouard@pep-project.org>
Thu, 20 Oct 2016 19:14:18 +0200
changeset 1319914e58c5e508
parent 1318 72e7ce41cce0
child 1320 658ca2113c34
sync : fixed typo preventing consuming beacons from non-sync sessions
src/message_api.c
     1.1 --- a/src/message_api.c	Wed Oct 19 18:36:05 2016 +0200
     1.2 +++ b/src/message_api.c	Thu Oct 20 19:14:18 2016 +0200
     1.3 @@ -1408,7 +1408,7 @@
     1.4              *rating = PEP_rating_unencrypted;
     1.5              if (imported_keys)
     1.6                  remove_attached_keys(src);
     1.7 -            if (session->retrieve_next_sync_msg) {
     1.8 +            if(session->inject_sync_msg)
     1.9                  status = receive_DeviceState_msg(session, src, *rating, *keylist);
    1.10                  if (status == PEP_MESSAGE_CONSUMED || 
    1.11                      status == PEP_MESSAGE_DISCARDED) {