Open SMS sorting problem

Discussion in 'Join' started by Lars Kvanum, Apr 5, 2019.

  1. Lars Kvanum

    Lars Kvanum New Member

    Joined:
    Jan 16, 2019
    Messages:
    17
    Likes Received:
    0
    Hi.
    Lately (?) I've noticed text messages aren't sorted correctly if some are sent with the country prefix and some are not. At the top of my list of SMS' I have the same number twice, once with +47 and once without it.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,583
    Likes Received:
    729
    Thanks for the report. Join actually tries to normalize the number prefix thing but apparently it's not able to in all situations yet. Is the rest of the number totally the same regarding spaces or other possible characters?
     
  3. Lars Kvanum

    Lars Kvanum New Member

    Joined:
    Jan 16, 2019
    Messages:
    17
    Likes Received:
    0
    Yes. No spaces. Everything else is the same. Just the prefix. Would it be an idea to just make a static list of all country prefixes and disregard these when sorting and grouping?
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,583
    Likes Received:
    729
    That's what I'm already trying to do. Will have to dig deeper and find out what else it could be.
     
  5. Lars Kvanum

    Lars Kvanum New Member

    Joined:
    Jan 16, 2019
    Messages:
    17
    Likes Received:
    0
    Strange, really. There must be some kind of flag resulting in the grouping...Tell me if you want to run some sort of debug code on my phone.
     
: join, sms

Share This Page