diff --git a/js/modules/data.js b/js/modules/data.js index 768eb9530..9fb5d1f07 100644 --- a/js/modules/data.js +++ b/js/modules/data.js @@ -921,13 +921,11 @@ async function getMessagesByConversation( } async function getLastHashBySnode(snode) { - const lastHash = await channels.getLastHashBySnode(snode); - return lastHash; + return channels.getLastHashBySnode(snode); } async function getSeenMessagesByHashList(hashes) { - const seenMessages = await channels.getSeenMessagesByHashList(hashes); - return seenMessages; + return channels.getSeenMessagesByHashList(hashes); } async function removeAllMessagesInConversation(