No subject


Sun Jan 30 00:47:20 CET 2011


  Basically, sometimes, kopete is displaying in duplicate incoming
  messages.  Checking my log, I saw the following:

  a) yahoo wasn't actually sending the message in duplicate.
  b) but YahooACcount::slotGotIm() was called twice on that message
  c) somewhere before the problematic thing - and I actually saw many
  things being done in duplicate (not just messages), I saw this:

    kopete(8352)/kopete (yahoo - raw protocol)
    Client::slotLoginResponse: Emitting loggedIn

    kopete(8352)/kopete (yahoo) YahooAccount::slotLoginResponse: -1 ,
    "" )]

  d) checking code in yahooaccount.cpp - it seems that for that code
  (and others), it considers that account is offline, but forgets to
  also disconnect all the signals. So, next time user logins (even by
  an auto-reconnect), the signals are connected *again* to the same
  sources. And that's why it gets to do things 2 times.

Forwardport of r1217959, with the string additions.

Original patch by Cristi Posoiu <cristi.posoiu AT gmail>, thanks!

CCBUG: 206159


 M  +3 -0      yahooaccount.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1217960

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list