ctrl k
  • halcyon-core/src/omemoMain/kotlin/tigase/halcyon/core/xmpp/modules/omemo/OMEMOModule.kt
    ■ ■ ■ ■ ■ ■
    skipped 166 lines
    167 167   }
    168 168   }
    169 169   }
     170 + 
     171 + val localDeviceId = protocolStore.getLocalRegistrationId();
     172 + if (!deviceList.contains(localDeviceId)) {
     173 + publishDeviceList(deviceList + listOf(localDeviceId)).response {
     174 + it.onFailure {
     175 + log.warning(it, { "failed to publish updated device list" })
     176 + }
     177 + it.onSuccess {
     178 + log.fine("published updated device list successfully")
     179 + }
     180 + }.send();
     181 + }
    170 182   } else {
    171 183   devices[jid.bareJID] = deviceList;
    172 184   }
    skipped 495 lines
Please wait...
Page is in error, reload to recover