mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
src/app/currentconversation.cpp: cleanup
Change-Id: I9514660fc4a5b39232fb4b293b5f7957338185f4
This commit is contained in:
parent
e2e5a0c8cc
commit
fc70ddc6dc
1 changed files with 5 additions and 5 deletions
|
@ -313,15 +313,15 @@ CurrentConversation::updateErrors(const QString& convId)
|
|||
auto& convInfo = optConv->get();
|
||||
for (const auto& [code, error] : convInfo.errors) {
|
||||
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) {
|
||||
newErrors.append(tr("Unrecognized conversation mode"));
|
||||
newErrors.append(tr("Unrecognized conversation mode."));
|
||||
} else if (code == 3) {
|
||||
newErrors.append(tr("An invalid message was detected"));
|
||||
newErrors.append(tr("An invalid message was detected."));
|
||||
} else if (code == 4) {
|
||||
newErrors.append(tr("Insufficient permission to update conversation information"));
|
||||
newErrors.append(tr("Insufficient permission to update conversation information."));
|
||||
} else if (code == 5) {
|
||||
newErrors.append(tr("An error occurred while committing a new message"));
|
||||
newErrors.append(tr("An error occurred while committing a new message."));
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue