mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
conversation: do not show error for non critical errors
If an error occurs during the execution of git_remote_fetch, there is no need to signal any error to the client as it's not a critical issue (no malformed conversation, mode is recognized, no unauthorized method) and the sync will be retried later. Change-Id: I2d875445e51aa6cd78eb2e7dbfe5efb8b2831860
This commit is contained in:
@ -417,7 +417,7 @@ ConversationMembersEventTest::testMemberAddedNoBadFile()
|
||||
const std::string& conversationId,
|
||||
int code,
|
||||
const std::string& /* what */) {
|
||||
if (accountId == bobId && conversationId == convId && code == 1)
|
||||
if (accountId == bobId && conversationId == convId && code == 3)
|
||||
errorDetected = true;
|
||||
cv.notify_one();
|
||||
}));
|
||||
|
Reference in New Issue
Block a user