Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify logic to apply jabber server config changes - Fixes #4865 #535

Closed
wants to merge 1 commit into from

Conversation

godiard
Copy link
Contributor

@godiard godiard commented Jun 24, 2015

There multiples fixes here:

  • On apply_jabber method, don't compare with the model._get_jabber
    function, but with the result of executing the function.
  • jabber set/get method don't throw ReadError exceptions,
    then do not have sense cathit here, or have a jabber_alert.
    Remove all the logic. Probably copied from __radio_toggled_cb,
    but not needed here.
  • Make apply_jabber private, is a internal implementation.

There multiples fixes here:
* On apply_jabber method, don't compare with the model._get_jabber
function, but with the result of executing the function.
* jabber set/get method don't throw ReadError exceptions,
then do not have sense cathit here, or have a jabber_alert.
Remove all the logic. Probably copied from __radio_toggled_cb,
but not needed here.
* Make apply_jabber private, is a internal implementation.
@tchx84
Copy link
Member

tchx84 commented Jun 25, 2015

Tested, Merged.

@tchx84 tchx84 closed this Jun 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants