mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
opendht: log push notification handling result
Change-Id: I6d88519a637c876848407b1e7b59e746b895c185
This commit is contained in:
@ -1 +1 @@
|
||||
614bed3cee2eda0cfa5d2e132b9bf3c8d7676f80b30121e34b2ae00cdc4bf9958f3d0ebb10092646a69fbceff9c2d5f531b1ff92d0804e74a6e57429d6a004af opendht-5237f0a3b3eb8965f294de706ad73596569ae1dd.tar.gz
|
||||
d6927667242ab5ca80f04995c4ba9c4f8fa24a2ff1dea5b3d4afa2943077c94ce0f97ad9b7c269cfe58df32709acc89ba648faff0a43ed0099b5a8c857e25d87 opendht-b0fa19d6f8a5f6af884b278f4351e5733c6a99e2.tar.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "opendht",
|
||||
"version": "7c184e1c8cbdd87d88912831eb0b845eb427fdfb",
|
||||
"version": "b0fa19d6f8a5f6af884b278f4351e5733c6a99e2",
|
||||
"url": "https://github.com/savoirfairelinux/opendht/archive/__VERSION__.tar.gz",
|
||||
"deps": [
|
||||
"argon2",
|
||||
|
@ -1,5 +1,5 @@
|
||||
# OPENDHT
|
||||
OPENDHT_VERSION := 5237f0a3b3eb8965f294de706ad73596569ae1dd
|
||||
OPENDHT_VERSION := b0fa19d6f8a5f6af884b278f4351e5733c6a99e2
|
||||
OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz
|
||||
|
||||
PKGS += opendht
|
||||
|
@ -3299,8 +3299,10 @@ void
|
||||
JamiAccount::pushNotificationReceived(const std::string& from,
|
||||
const std::map<std::string, std::string>& data)
|
||||
{
|
||||
JAMI_WARNING("[Account {:s}] pushNotificationReceived: {:s}", getAccountID(), from);
|
||||
dht_->pushNotificationReceived(data);
|
||||
auto ret_future = dht_->pushNotificationReceived(data);
|
||||
dht::ThreadPool::computation().run([id = getAccountID(), ret_future = ret_future.share()] {
|
||||
JAMI_WARNING("[Account {:s}] pushNotificationReceived: {}", id, (uint8_t)ret_future.get());
|
||||
});
|
||||
}
|
||||
|
||||
std::string
|
||||
|
Reference in New Issue
Block a user