Skip to content

Commit

Permalink
Added a workaround for a bug in libtransport/spectrum, which duplicat…
Browse files Browse the repository at this point in the history
…es Psi caps in its presense

SpectrumIM/spectrum2#205
  • Loading branch information
Ri0n committed Jun 10, 2017
1 parent 26546a0 commit 37f4ca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/discodlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ void DiscoListItem::autoItemsChildren() const
void DiscoListItem::updateInfo()
{
JT_DiscoInfo *jt = new JT_DiscoInfo(d->pa->client()->rootTask());
jt->setAllowCache(false); // Workaround for a bug https://github.com/hanzz/spectrum2/issues/205 (invalid caps from transport)
connect(jt, SIGNAL(finished()), SLOT(discoInfoFinished()));
jt->get(di.jid(), di.node());
jt->go(true);
Expand Down

0 comments on commit 37f4ca1

Please sign in to comment.