mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 872373 - B2G MMS: sendMMS(...) fails to create a proper thread ID for send/sending event. r=vicamo a=leo+
This commit is contained in:
parent
dee3a48ec3
commit
32d3ba4adc
@ -61,6 +61,7 @@ MmsMessage::MmsMessage(int32_t aId,
|
||||
|
||||
MmsMessage::MmsMessage(const mobilemessage::MmsMessageData& aData)
|
||||
: mId(aData.id())
|
||||
, mThreadId(aData.threadId())
|
||||
, mDelivery(aData.delivery())
|
||||
, mDeliveryStatus(aData.deliveryStatus())
|
||||
, mSender(aData.sender())
|
||||
@ -281,6 +282,7 @@ MmsMessage::GetData(ContentParent* aParent,
|
||||
NS_ASSERTION(aParent, "aParent is null");
|
||||
|
||||
aData.id() = mId;
|
||||
aData.threadId() = mThreadId;
|
||||
aData.delivery() = mDelivery;
|
||||
aData.deliveryStatus() = mDeliveryStatus;
|
||||
aData.sender().Assign(mSender);
|
||||
|
@ -48,6 +48,7 @@ struct MmsAttachmentData
|
||||
struct MmsMessageData
|
||||
{
|
||||
int32_t id;
|
||||
uint64_t threadId;
|
||||
DeliveryState delivery;
|
||||
DeliveryStatus[] deliveryStatus;
|
||||
nsString sender;
|
||||
|
Loading…
Reference in New Issue
Block a user