[Bug 43025] New: Add setStatusMessage(QString) to Tp::Presence

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 17 16:07:49 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43025

             Bug #: 43025
           Summary: Add setStatusMessage(QString) to Tp::Presence
    Classification: Unclassified
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: enhancement
          Priority: medium
         Component: tp-qt4
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: martin.klapetek at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


Tp::Presence already enables one to set all fields of Presence with 

Tp::Presence::setStatus(ConnectionPresenceType type, QString status, QString
statusMessage)

and also with

Tp::Presence::setStatus(SimplePresence presence).

Currently when you want to set just a presenceMessage and leave the current
presence type for one of your accounts, you have to use 

currentPresence.setStatus(currentPresence.type(), currentPresence.status(),
presenceMessage).

So this patch adds a simple setter for presenceMessage -
setPresenceMessage(QString).

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



More information about the telepathy-bugs mailing list