X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=plugin.pyx;h=c5b5f937dff55376c6b188872cd30e91f97e6ef4;hp=ac6f704fb14f5a8c96fd4682731775c14db60a46;hb=d5dc2da1bd703c2cadbadde95994c17f44a86a0e;hpb=e336c7f9770751ff9eea750db9a856b86d6b5e14 diff --git a/plugin.pyx b/plugin.pyx index ac6f704..c5b5f93 100644 --- a/plugin.pyx +++ b/plugin.pyx @@ -97,9 +97,6 @@ cdef class Plugin: if type == prefs.PURPLE_PREF_STRING: str_value = accountopt.purple_account_option_get_default_string(option) - # Google Talk default domain hackery! - if str_value == NULL and label == "Connect server": - str_value = "talk.google.com" if c_account != NULL: str_value = account.purple_account_get_string(c_account, setting, str_value) @@ -107,8 +104,6 @@ cdef class Plugin: elif type == prefs.PURPLE_PREF_INT: int_value = accountopt.purple_account_option_get_default_int(option) - if sett == "port": - int_value = int(443) if c_account != NULL: int_value = account.purple_account_get_int(c_account, setting, int_value)