Skip to content

Commit

Permalink
added psi-fix-transports-group patch
Browse files Browse the repository at this point in the history
  • Loading branch information
liuch committed Nov 16, 2012
1 parent c1987e4 commit f880d93
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions patches/1980-psi-fix-transports-group.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
--- psi.orig/src/contactlistnestedgroup.cpp
+++ psi/src/contactlistnestedgroup.cpp
@@ -55,7 +55,10 @@ void ContactListNestedGroup::addContact(
if (canContainSpecialGroups()) {
ContactListGroup* group = specialGroupFor(contact);
if (group) {
- group->addContact(contact, contactGroups);
+ if (!contact->isAgent())
+ group->addContact(contact, contactGroups);
+ else
+ group->addContact(contact, QStringList() << QString());
return;
}
}
@@ -113,6 +116,9 @@ void ContactListNestedGroup::contactUpda

void ContactListNestedGroup::contactGroupsChanged(PsiContact* contact, QStringList contactGroups)
{
+ if (contact->isAgent())
+ return;
+
bool restrictContactAdd = false;
if (canContainSpecialGroups()) {
ContactListGroup* specialGroup = specialGroupFor(contact);

1 comment on commit f880d93

@liuch
Copy link
Member Author

@liuch liuch commented on f880d93 Nov 16, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix issue 523.
Транспорты отображаются только в спец.группе. Влияет только на отображение, сами транспорты никуда не перемещаются.

Please sign in to comment.