Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gajim gajim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 177
    • Issues 177
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • gajim
  • gajimgajim
  • Issues
  • #5039

Closed
Open
Created May 19, 2009 by anonymous@anonymous

DBus/remote API: add change_status_message() or so

Gajim's remote API messes a method to update status message. The change_status() method is usable but needs a lot of care not to create side effects: e.g. if you use the simplest and naive call

    change_status(get_status(), "new status message", "")

Gajim will try to set the status to 'online' (or so) if any of the accounts is online, which is obviously annoying: if an account is offline, Gajim will try to connect it.

Therefore, the caller have to update each account separately in order not to connect disconnected accounts (or more generally, sync status between accounts), which is IMO too much work and DBus calls for something quite common and simple.

The caller have to do something like that:

    for account in list_accounts():
      change_status(get_status(account), "new status message", account)

Then, I suggest to add a method such as change_status_message() to the remote API that only changes the status message and not the status itself.

regards,

Colomban

Assignee
Assign to
Time tracking