Fix failed send indicator not updating automatically
This commit is contained in:
parent
f91427e653
commit
014d70fd64
1 changed files with 5 additions and 0 deletions
|
|
@ -166,6 +166,11 @@ EventStore::EventStore(std::string room_id, QObject *)
|
|||
nhlog::ui()->debug("failing txn id '{}'", txn_id);
|
||||
cache::client()->removePendingStatus(room_id_, txn_id);
|
||||
current_txn_error_count = 0;
|
||||
|
||||
auto idx = idToIndex(txn_id);
|
||||
|
||||
if (idx)
|
||||
emit dataChanged(*idx, *idx);
|
||||
}
|
||||
}
|
||||
QTimer::singleShot(1000, this, [this]() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue