refactor: Flatten code in subs.change_state().
refactor: Flatten code in subs.change_state().

eeshangarg/zulip,dhcrzf/zulip,showell/zulip,kou/zulip,rishig/zulip,showell/zulip,synicalsyntax/zulip,brainwane/zulip,dhcrzf/zulip,rht/zulip,brainwane/zulip,tommyip/zulip,kou/zulip,tommyip/zulip,tommyip/zulip,hackerkid/zulip,kou/zulip,synicalsyntax/zulip,eeshangarg/zulip,shubhamdhama/zulip,rishig/zulip,andersk/zulip,andersk/zulip,zulip/zulip,hackerkid/zulip,timabbott/zulip,zulip/zulip,brainwane/zulip,kou/zulip,timabbott/zulip,shubhamdhama/zulip,hackerkid/zulip,zulip/zulip,dhcrzf/zulip,rht/zulip,tommyip/zulip,jackrzhang/zulip,andersk/zulip,andersk/zulip,kou/zulip,punchagan/zulip,hackerkid/zulip,rishig/zulip,eeshangarg/zulip,tommyip/zulip,dhcrzf/zulip,synicalsyntax/zulip,dhcrzf/zulip,timabbott/zulip,shubhamdhama/zulip,shubhamdhama/zulip,punchagan/zulip,jackrzhang/zulip,zulip/zulip,brainwane/zulip,jackrzhang/zulip,shubhamdhama/zulip,synicalsyntax/zulip,rht/zulip,jackrzhang/zulip,brainwane/zulip,dhcrzf/zulip,jackrzhang/zulip,punchagan/zulip,rht/zulip,showell/zulip,jackrzhang/zulip,rht/zulip,dhcrzf/zulip,andersk/zulip,punchagan/zulip,rht/zulip,zulip/zulip,timabbott/zulip,brainwane/zulip,eeshangarg/zulip,showell/zulip,hackerkid/zulip,hackerkid/zulip,jackrzhang/zulip,showell/zulip,tommyip/zulip,eeshangarg/zulip,rishig/zulip,kou/zulip,showell/zulip,timabbott/zulip,punchagan/zulip,rishig/zulip,punchagan/zulip,synicalsyntax/zulip,synicalsyntax/zulip,rishig/zulip,rishig/zulip,andersk/zulip,brainwane/zulip,showell/zulip,eeshangarg/zulip,zulip/zulip,andersk/zulip,shubhamdhama/zulip,timabbott/zulip,rht/zulip,kou/zulip,punchagan/zulip,shubhamdhama/zulip,synicalsyntax/zulip,hackerkid/zulip,timabbott/zulip,tommyip/zulip,eeshangarg/zulip,zulip/zulip