| Summary: | Plasmoid crashes when a group chat is started | ||
|---|---|---|---|
| Product: | [Unmaintained] telepathy | Reporter: | David Edmundson <kde> |
| Component: | chat-plasmoid | Assignee: | Telepathy Bugs <kde-telepathy-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 0.4.0 | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Git commit 014f4ae3aa7882d513f6238680d6057de32e83a5 by David Edmundson. Committed on 09/02/2012 at 00:04. Pushed by davidedmundson into branch 'master'. Don't register to support group chats when we don't actually support them. M +1 -3 plasmoid/declarative-plugin/telepathy-text-observer.cpp http://commits.kde.org/telepathy-text-ui/014f4ae3aa7882d513f6238680d6057de32e83a5 Git commit f46e8c5798f02e632192f2af8b9b436e3affea3e by David Edmundson. Committed on 09/02/2012 at 00:11. Pushed by davidedmundson into branch 'master'. targetContact() can be null, so check before trying to use it. M +25 -6 plasmoid/declarative-plugin/conversation-target.cpp M +1 -1 plasmoid/declarative-plugin/conversation-target.h http://commits.kde.org/telepathy-text-ui/f46e8c5798f02e632192f2af8b9b436e3affea3e Since david has pretty much fixed this, I'm closing this bug. |
Don't register for group chats if you can't support them! return Tp::ChannelClassSpecList() << Tp::ChannelClassSpec::textChat() - << Tp::ChannelClassSpec::unnamedTextChat() - << Tp::ChannelClassSpec::textChatroom(); Also double check before you ever use channel::TargetContact().