mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 06:20:44 -04:00
Removed extra refresh function calls and break statements.
This commit is contained in:
parent
87282618a4
commit
852ec16c6a
1 changed files with 8 additions and 14 deletions
|
@ -113,27 +113,21 @@ void WireDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> event)
|
|||
switch(e->mWireEventCode)
|
||||
{
|
||||
case RsWireEventCode::NEW_POST:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
case RsWireEventCode::NEW_REPLY:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
case RsWireEventCode::NEW_LIKE:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
case RsWireEventCode::NEW_REPUBLISH:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
case RsWireEventCode::POST_UPDATED:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
case RsWireEventCode::NEW_WIRE:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
case RsWireEventCode::FOLLOW_STATUS_CHANGED:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
default:
|
||||
refreshGroups();
|
||||
break;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue