[kopete-bugs] [Bug 218937] Kopete crashes probably due to facebook-plugin bug [Kopete::Contact::account, Kopete::Contact::onlineStatus, Kopete::PasswordedAccount::connect]
Nicolas Lécureuil
nlecureuil at mandriva.com
Thu Dec 17 15:45:27 CET 2009
https://bugs.kde.org/show_bug.cgi?id=218937
Nicolas Lécureuil <nlecureuil at mandriva.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nlecureuil at mandriva.com
--- Comment #1 from Nicolas Lécureuil <nlecureuil mandriva com> 2009-12-17 15:45:26 ---
what do you think about this ?
Index: kopete/libkopete/kopetecontact.cpp
===================================================================
--- kopete/libkopete/kopetecontact.cpp (révision 1061995)
+++ kopete/libkopete/kopetecontact.cpp (copie de travail)
@@ -130,7 +130,7 @@
OnlineStatus Contact::onlineStatus() const
{
- if ( this == account()->myself() || account()->isConnected() )
+ if ( account() && ( this == account()->myself() ||
account()->isConnected() ) )
return d->onlineStatus;
else
return protocol()->accountOfflineStatus();
--
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