The marker used to indicate that the desired message had been passed was wrapped in a conditional statement that could evaluate to false when it needed to set the marker to true. This prevented the function from recognizing that the desired message had already been processed.
Change-Id: I9934858f5837d91fc5dfc54debb417dd8c19c933
The Conversation::loadMessages2 function uses the information cached in
both loadedHistory_ and memberToStatus, so it's important for the two to
always remain consistent with each other. This patch fixes two issues
that could cause them to diverge:
1) the Conversation::clearCache function currently resets
loadedHistory_, but not memberToStatus;
2) Conversation::Impl::loadMessage2 doesn't modify loadedHistory_ but
sometimes resets memberToStatus.
GitLab: #1087
Change-Id: I21caedea996d5ad66b695a0f130cd473c5d5ddc4
This patch prevents macOS from using its system-provided sha512sum
to ensure consistent compatibility with other platforms.
Change-Id: Ie239cc14b9b0e17c486f5a3d4d55e6f26af32b0a
The SIP accounts were not functioning properly because they weren't notified that a new profile vCard was available. Since they lack a URI, the accountId needs to be included in the URI. This adjustment shouldn't cause significant issues, as accountIds have a different format than URIs.
Change-Id: I2fd41909c4bf20a9c42538620dacc732b6ab27e1
This fixes a bug where JamiAccount::sendMessage would sometimes call
MessageEngine::onMessageSent with the `ok` argument set to false even
though the message had actually been sent successfully.
GitLab: #1081
Change-Id: I51190994b81e9e897dec546fd254d6e0ca4c99d3
Modified behavior to support cases where a SIP account uploads a new profile. The main idea is to move the vCard management logic in the daemon.
Change-Id: I74dece22cd2917ad2f5ff2b37e2d413696cdcec3
PluginsTest::testTranslations assumes that at least one of the fields in
the TestSuite plugin's manifest has a French translation. Such a
translation was added in version 1.0.1 of TestSuite last year by commit
d0e0ef18395a07a1579b512c5d67bf61f7c3587a in the jami-plugins repo:
https://review.jami.net/c/jami-plugins/+/25667
However, the daemon plugin tests were still using version 1.0.0 of
TestSuite, which is why testTranslations was failing every day. This
patch fixes the issue by upgrading the TestSuite.jpl file used for the
tests to version 1.0.1.
GitLab: #1064
Change-Id: I7b851083bd8e1ac80d61f721baabbc092b46c56a
Added a flag (0 for avatar path, 1 for base64 image) to enhance API flexibility, allowing avatar support without local image storage. This change accommodates clients, such as iOS, that do not save images locally.
Change-Id: I914c14d9b38b97d1126bd2d1de4523d987e422ee
This new API integrates vCard logic within the daemon, allowing clients to only provide a path. It sends the updated data directly to other connected peers to synchronize information (cached connections). The API can also be used to remove a displayName or avatar, meaning you must always supply either a displayName or an avatar to use it.
Change-Id: I6d9bdb29ce86ce3721911cf5cf7eb836ef976110