pidgin/pidgin

zephyr_login refactoring

2021-01-11, Arkadiy Illarionov
d06e6660b39c
zephyr_login refactoring

* Add `login_tzc` and `login_zeph02` functions to remove redundant comparison
* Add `get_zephyr_realm` function to reduce code duplication
* Extract some functions
* Use `FALSE` in `purple_account_get_bool`
* Replace `read_anyone` and `read_zsubs` variables with functions calls

Testing Done:
Compile.

Reviewed at https://reviews.imfreedom.org/r/405/
---
name: gplugin
buildsystem: meson
config-opts:
- -Ddoc=false
- -Dlua=false
- -Dperl=false
sources:
- type: archive
url: https://keep.imfreedom.org/gplugin/gplugin/archive/ed8e701cc2b1.tar.gz
sha256: ad7968d0d5d93ba39c2d6676f612cfd2f353260b9e4d260d0dac17c52f833f8d
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man