Comandi: esito leggibile e log del segno sottoscrizione (0.23.7)
Dopo un comando al server il messaggio diceva 'Nessun messaggio nuovo', che faceva credere a un fallimento. Ora dice 'Fatto: SUBSCRIBE'. E il motore scrive nel log se il segno .grumpydove-unsubscribed e' stato tolto e dove.
This commit is contained in:
1 parent
783ef6ab58
commit
367df942c8
5 files changed
+18
-4
No files matched your search
+11
-1
@@ -219,7 +219,16 @@ void EngineBridge::pollMail()
|
||||
if (!running) {
|
||||
m_poll->stop();
|
||||
m_checking = false;
|
||||
if (m_lastResult.isEmpty()) m_lastResult = tr("Nessun messaggio nuovo");
|
||||
if (m_lastResult.isEmpty()) {
|
||||
// Un comando (sottoscrivere, rinominare, creare) non porta
|
||||
// messaggi: dire "Nessun messaggio nuovo" faceva credere che non
|
||||
// fosse successo niente.
|
||||
if (!m_comando.isEmpty())
|
||||
m_lastResult = tr("Fatto: %1").arg(m_comando);
|
||||
else
|
||||
m_lastResult = tr("Nessun messaggio nuovo");
|
||||
}
|
||||
m_comando.clear();
|
||||
if (s_rescan) s_rescan(); // le cartelle possono essere nuove
|
||||
dropAllRows(); // e i messaggi sono cambiati
|
||||
// I file appena copiati vanno presi nell'indice del motore: senza
|
||||
@@ -381,6 +390,7 @@ QString EngineBridge::comandoServer(const QString &op, int folder,
|
||||
emit checkingChanged();
|
||||
m_lastResult.clear();
|
||||
emit lastResultChanged();
|
||||
m_comando = op;
|
||||
s_imap_start(bytes.constData(), bytes.size());
|
||||
m_poll->start();
|
||||
logInvio(QString("comando server: %1 %2 (%3)").arg(op, place, argomento));
|
||||
|
||||
Reference in new issue
Block a user