1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 12:03:18 +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) { if (code == 1) {
newErrors.append(tr("An error occurred while fetching this repository")); newErrors.append(tr("An error occurred while fetching this repository"));
} else if (code == 2) { } else if (code == 2) {
newErrors.append(tr("The conversation's mode is un-recognized")); newErrors.append(tr("Unrecognized conversation mode"));
} else if (code == 3) { } else if (code == 3) {
newErrors.append(tr("An invalid message was detected")); newErrors.append(tr("An invalid message was detected"));
} else if (code == 4) { } else if (code == 4) {
newErrors.append( newErrors.append(tr("Not authorized to update conversation information"));
tr("Not enough authorization for updating conversation's infos")); } else if (code == 5) {
newErrors.append(tr("An error occurred while committing a new message"));
} else { } else {
continue; continue;
} }