~ci-train-bot/history-service/history-service-ubuntu-zesty-2629

« back to all changes in this revision

Viewing changes to src/channelobserver.cpp

  • Committer: Bileto Bot
  • Author(s): Gustavo Pichorim Boiko
  • Date: 2016-11-30 15:13:58 UTC
  • mfrom: (230.2.23 staging)
  • Revision ID: ci-train-bot@canonical.com-20161130151358-jy3mqj0ir0b6ncxe
Improve group chat support.

Approved by: Roberto Mier Escandón , Tiago Salem Herrmann

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    Tp::ChannelClassSpecList specList;
41
41
    specList << Tp::ChannelClassSpec::audioCall();
42
42
    specList << Tp::ChannelClassSpec::textChat();
 
43
    specList << Tp::ChannelClassSpec::textChatroom();
 
44
    specList << Tp::ChannelClassSpec::unnamedTextChat();
43
45
 
44
46
    return specList;
45
47
}
58
60
    Q_UNUSED(requestsSatisfied)
59
61
    Q_UNUSED(observerInfo)
60
62
 
61
 
    qDebug() << __PRETTY_FUNCTION__;
62
63
    Q_FOREACH (Tp::ChannelPtr channel, channels) {
63
64
        // tp-qt has not support for the SMS interface
64
65
        if (channel->immutableProperties().contains(TP_QT_IFACE_CHANNEL_INTERFACE_SMS + QLatin1String(".Flash"))) {