← Back to team overview

touch-packages team mailing list archive

[Bug 1478403] Re: Messages appear from the wrong sender

 

** Project changed: dialer-app => dialer-app (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to messaging-app in Ubuntu.
https://bugs.launchpad.net/bugs/1478403

Title:
  Messages appear from the wrong sender

Status in history-service:
  New
Status in telepathy-ofono:
  New
Status in dialer-app package in Ubuntu:
  New
Status in messaging-app package in Ubuntu:
  Confirmed

Bug description:
  After updating to OTA5 on mako (#21), I have been seeing text messages
  that are from one person, but appear as sent from someone else.  The
  first one was obvious, since it came from the T-Mobile voicemail
  number, but the next time was more subtle, since it came from a
  different friend's number.  I sent myself a message while running
  dbus-monitor to see where it went wrong:

  signal sender=:1.13 -> dest=(null destination) serial=665 path=/org/freedesktop/Telepathy/Connection/ofono/ofono/_14bb200/_1515120; interface=org.freedesktop.Telepathy.Channel.Interface.Messages; member=MessageReceived
     array [
        array [
           dict entry(
              string "message-received"
              variant                uint32 1437926656
           )
           dict entry(
              string "message-sender"
              variant                uint32 2
           )
           dict entry(
              string "message-sender-id"
              variant                string "<correct number>"
           )
           dict entry(
              string "message-token"
              variant                string "2015-07-26T12:04:14-0400-1"
           )
           dict entry(
              string "message-type"
              variant                uint32 0
           )
           dict entry(
              string "pending-message-id"
              variant                uint32 0
           )
        ]
        array [
           dict entry(
              string "content"
              variant                string "sample message"
           )
           dict entry(
              string "content-type"
              variant                string "text/plain"
           )
        ]
     ]

  
  The telepathy-ofono message looks okay, but the message emitted by history-daemon is wrong:

  signal sender=:1.92 -> dest=(null destination) serial=560 path=/com/canonical/HistoryService; interface=com.canonical.HistoryService; member=EventsAdded
     array [
        array [
           dict entry(
              string "accountId"
              variant                string "ofono/ofono/account0"
           )
           dict entry(
              string "attachments"
              variant                array [
                 ]
           )
           dict entry(
              string "eventId"
              variant                string "2015-07-26T12:04:14-0400-1"
           )
           dict entry(
              string "message"
              variant                string "sample message"
           )
           dict entry(
              string "messageStatus"
              variant                int32 0
           )
           dict entry(
              string "messageType"
              variant                int32 0
           )
           dict entry(
              string "newEvent"
              variant                boolean true
           )
           dict entry(
              string "participants"
              variant                array [
                    string "<wrong number!>"
                 ]
           )
           dict entry(
              string "readTimestamp"
              variant                string ""
           )
           dict entry(
              string "senderId"
              variant                string "<same wrong number!>"
           )
           dict entry(
              string "subject"
              variant                string ""
           )
           dict entry(
              string "threadId"
              variant                string "<same wrong number!>"
           )
           dict entry(
              string "timestamp"
              variant                string "2015-07-26T12:04:16.000"
           )
           dict entry(
              string "type"
              variant                int32 0
           )
        ]
     ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/history-service/+bug/1478403/+subscriptions


References