Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • chatty chatty
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 261
    • Issues 261
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • chattychatty
  • Issues
  • #370

Closed
Open
Created Jul 10, 2020 by Evangelos Ribeiro Tzaras@devrtzContributor

Supported protocols (SMS) not always detected correctly

I've just come across an issue where presumably (?) the modem was not yet online/connected leaving both the chat history empty and the "add chat" button insensitive.

chatty_grey_plus

After killing chatty and restarting it everything is back to normal.

chatty_after_kill

After looking a bit through the code has_sms seems to be false. https://source.puri.sm/Librem5/chatty/-/blob/master/src/chatty-window.c#L959

The modem stuff is handled here: https://source.puri.sm/Librem5/chatty/-/blob/master/src/chatty-manager.c#L1472

Maybe we can periodically call manager_update_protocols if no protocol is self->active_protocols == 0 or self->active_protocols && CHATTY_PROTOCOL_SMS == 0 ?

Apparently people can still receive SMS which will then update the protocols and "fixes" the history and plus button.

Originally reported in the Pine64 forums

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking