Changeset View
Changeset View
Standalone View
Standalone View
plugins/sms/smsplugin.cpp
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 72 | { | |||
---|---|---|---|---|---|
73 | NetworkPacket np(PACKET_TYPE_SMS_REQUEST_CONVERSATIONS); | 73 | NetworkPacket np(PACKET_TYPE_SMS_REQUEST_CONVERSATIONS); | ||
74 | 74 | | |||
75 | sendPacket(np); | 75 | sendPacket(np); | ||
76 | } | 76 | } | ||
77 | 77 | | |||
78 | void SmsPlugin::requestConversation (const QString& conversationID) const | 78 | void SmsPlugin::requestConversation (const QString& conversationID) const | ||
79 | { | 79 | { | ||
80 | NetworkPacket np(PACKET_TYPE_SMS_REQUEST_CONVERSATION); | 80 | NetworkPacket np(PACKET_TYPE_SMS_REQUEST_CONVERSATION); | ||
81 | np.set("threadID", conversationID.toInt()); | 81 | np.set("threadID", conversationID.toLongLong()); | ||
82 | 82 | | |||
83 | sendPacket(np); | 83 | sendPacket(np); | ||
84 | } | 84 | } | ||
85 | 85 | | |||
86 | void SmsPlugin::forwardToTelepathy(const ConversationMessage& message) | 86 | void SmsPlugin::forwardToTelepathy(const ConversationMessage& message) | ||
87 | { | 87 | { | ||
88 | // If we don't have a valid Telepathy interface, bail out | 88 | // If we don't have a valid Telepathy interface, bail out | ||
89 | if (!(m_telepathyInterface.isValid())) return; | 89 | if (!(m_telepathyInterface.isValid())) return; | ||
Show All 32 Lines |