~phablet-team/messaging-framework/maintain-connection-state

« back to all changes in this revision

Viewing changes to include/messaging/qt/tp/connection.h

  • Committer: Tarmac
  • Author(s): Roberto Mier Escandon
  • Date: 2016-08-23 22:12:02 UTC
  • mfrom: (54.1.6 include-group-creator)
  • Revision ID: tarmac-20160823221202-xp8p4pcb6fwp5jar
Added creator to the group when created the channel.

NOTE: this branch should be landed along with https://code.launchpad.net/~ningbo-team/ningbo/include-group-creator/+merge/303179.

Approved by Tiago Salem Herrmann, system-apps-ci-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
        void on_presence_changed(const messaging::Recipient::shared_ptr& recipient, const messaging::Presence& presence) override;
97
97
 
98
98
        /// @brief on_new_group_invitation_received notifies an invitation to a new group
99
 
        void on_new_group_invitation_received(const messaging::Recipient::shared_ptr& new_group,
100
 
                                              const messaging::Recipient::shared_ptr& initiator) override;
 
99
        void on_new_group_invitation_received(const std::shared_ptr<Group>& new_group) override;
101
100
 
102
101
      private:
103
102
        std::shared_ptr<qt::Runtime> runtime; ///< The qt::Runtime instance that we dispatch to.
120
119
    /// @brief on_new_group_invitation_received notifies a new group invitation received
121
120
    ///
122
121
    /// Implemented from messaging::SessionManager::Observer
123
 
    void on_new_group_invitation_received(const messaging::Recipient::shared_ptr& new_group,
124
 
                                          const messaging::Recipient::shared_ptr& initiator) override;
 
122
    void on_new_group_invitation_received(const std::shared_ptr<Group>& new_group) override;
125
123
 
126
124
    /// @brief Creates a new instance for the given parameters, setting up
127
125
    /// fixed and optional properties supported on this connection.