Remove setTalkCapability() from AccountState and filter for Talk upon App list building
authorMichael Schuster <michael@schuster.ms>
Wed, 15 Jan 2020 15:30:05 +0000 (16:30 +0100)
committerMichael Schuster <michael@schuster.ms>
Wed, 15 Jan 2020 15:30:05 +0000 (16:30 +0100)
commit7b740f5e9a91fb6c814fae6946b3f8ca4260855e
tree42c6e56e8632148d594d59eacf8c97c666b1ed9b
parentcb328d6cea33186110068eb1d5293d9f7721b261
Remove setTalkCapability() from AccountState and filter for Talk upon App list building

Since the per Account App list is now being built in AccountState's slotNavigationAppsFetched
it's easy to filter for the availability of the Talk app on the server by its ID property
upon App list building, thus eliminating the need for an extra fetch job.

Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/accountstate.cpp
src/gui/accountstate.h