[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-telepathy
Subject:    [Bug 290634] New: Cannot accept contact authorization request
From:       Daniele E. Domenichelli <daniele.domenichelli () gmail ! com>
Date:       2012-01-04 21:42:55
Message-ID: bug-290634-122184 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=290634

           Summary: Cannot accept contact authorization request
           Product: telepathy
           Version: git-latest
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: NOR
         Component: kded-module
        AssignedTo: kde-telepathy@kde.org
        ReportedBy: daniele.domenichelli@gmail.com
            Blocks: 285413


Using haze-msn I get the authorization request in the system tray, but when I
click on authorize I get a "success" popup, but the contact is not really
added.

The problem is in contact-request-handler.cpp:281
// If needed, reiterate the request on the other end
if (contact->manager()->canRequestPresenceSubscription() &&
    contact->subscriptionState() == Tp::Contact::PresenceStateNo) {
    connect(contact->manager()->requestPresenceSubscription(QList<
Tp::ContactPtr >() << contact),
            SIGNAL(finished(Tp::PendingOperation*)),
            this, SLOT(onFinalizeSubscriptionFinished(Tp::PendingOperation*)));
}

Removing the "if" I was able to accept the request, but now I'm no longer able
to reproduce this, because the contact was added, and I don't understand why.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDE-Telepathy mailing list
KDE-Telepathy@kde.org
https://mail.kde.org/mailman/listinfo/kde-telepathy
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic