1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 03:53:23 +02:00

currentconversation: support new error code

Change-Id: I391080b2de79414f04c5dd7b00b1d0d0865b3550
This commit is contained in:
Sébastien Blin 2023-05-17 09:45:11 -04:00
parent 30d10c7da9
commit b507eecdf1
2 changed files with 5 additions and 4 deletions

2
daemon

@ -1 +1 @@
Subproject commit 6aa9751d201e533a988b06033b5d0945a775317c
Subproject commit 7ef7735297179bca2249bf757db7a88ce4dd5807

View file

@ -324,12 +324,13 @@ CurrentConversation::updateErrors(const QString& convId)
if (code == 1) {
newErrors.append(tr("An error occurred while fetching this repository"));
} else if (code == 2) {
newErrors.append(tr("The conversation's mode is un-recognized"));
newErrors.append(tr("Unrecognized conversation mode"));
} else if (code == 3) {
newErrors.append(tr("An invalid message was detected"));
} else if (code == 4) {
newErrors.append(
tr("Not enough authorization for updating conversation's infos"));
newErrors.append(tr("Not authorized to update conversation information"));
} else if (code == 5) {
newErrors.append(tr("An error occurred while committing a new message"));
} else {
continue;
}