Closed Bug 868679 Opened 11 years ago Closed 11 years ago

[SMS][MMS] Migrate entire Messaging app to threadId (previously used phone number)

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed

People

(Reporter: rwaldron, Assigned: rwaldron)

References

Details

(Keywords: feature)

Attachments

(1 file)

45 bytes, text/x-github-pull-request
gnarf
: review+
julienw
: review+
Details | Review
Previously the app used the phone number to attribute a message to a particular thread. That's not cool, and now we have threadId, so use that instead.
AFAIK we know have all the necessary support in Gecko: we have the thread id in the Thread object when getting them from getThreads, we can provide a thread id in a filter, and we have the thread id when getting a message from the system message.

Borja, am I missing a use case here ?

Marking leo? because we'll need this so that everything works as intended with multi-recipients threads.
blocking-b2g: --- → leo?
Summary: [SMS][MMS] Update all uses of "number" where threadId is more appropriate → [SMS][MMS] use the threadId as the "key" of a thread instead of a phone number in all places where it's relevant
Triage: likely to block on this, but can you provide the bug that this blocks so we can understand the dependencies?
Flags: needinfo?(waldron.rick)
Depends on: 862311
Assignee: nobody → waldron.rick
This is part of the core MMS work for proper thread support now that multiple numbers may be involved, marking blocking.
blocking-b2g: leo? → leo+
Flags: needinfo?(waldron.rick)
Keywords: feature
Depends on: 870562
last comment was 4days ago.  what's the status here?
Faramarz, sendMMS is not functional (or, no one has confirmed ever sending an MMS message successfully). If it was, this might've been done on Monday.

https://bugzilla.mozilla.org/show_bug.cgi?id=867227
https://bugzilla.mozilla.org/show_bug.cgi?id=872219
https://bugzilla.mozilla.org/show_bug.cgi?id=871772
https://bugzilla.mozilla.org/show_bug.cgi?id=869807
(In reply to Rick Waldron from comment #5)
> Faramarz, sendMMS is not functional (or, no one has confirmed ever sending
> an MMS message successfully). If it was, this might've been done on Monday.
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=867227
> https://bugzilla.mozilla.org/show_bug.cgi?id=869807

Just for the records, please see bug 869841, comment #8. Hope it's nothing but just a typo. ;)

> https://bugzilla.mozilla.org/show_bug.cgi?id=871772
> https://bugzilla.mozilla.org/show_bug.cgi?id=872219

At the same time, I'm looking into the above two bugs. Please stay tuned.
Blocks: 872369
Summary: [SMS][MMS] use the threadId as the "key" of a thread instead of a phone number in all places where it's relevant → [SMS][MMS] Migrate entire Messaging app to threadId (previously used phone number)
Attached file Fix for 868679
Attachment #750760 - Flags: review?(gnarf37)
Attachment #750760 - Flags: review?(felash)
Whiteboard: [NO_UPLIFT]
Comment on attachment 750760 [details] [review]
Fix for 868679

r=me

some follow up, notably Bug 873703, but we need this to not block other people. And it works :)

waiting for Corey's thumb up, because 2 more eyes could be good for this big patch.
Attachment #750760 - Flags: review?(felash) → review+
master: 2f444eefd99078cb782e227e8d16c4964c99b1f1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #750760 - Flags: review?(gnarf37) → review+
Whiteboard: [NO_UPLIFT]
v1-train: bda16a0
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: