summaryrefslogtreecommitdiff
path: root/src/persistentcookiejar.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2018-07-20 03:21:30 -0500
committerLostDragonist <lost.dragonist@gmail.com>2018-07-22 14:28:38 -0500
commitfc8a6b358fb7bda18979c7c5c23c13d7c2ae8dc8 (patch)
tree96495b386798a1ac71726d58164d06dcdc450ddb /src/persistentcookiejar.cpp
parentedf608ab23e98b4d7dbfd09628cb64770d4bdb1a (diff)
Improve robustness of endorsement checks
At times, the voted_by_user item is returned as Invalid. toBool() causes this to be false, meaning the item is seen as not endorsed. Now, the endorsement state is not checked if the data is invalid.
Diffstat (limited to 'src/persistentcookiejar.cpp')
0 files changed, 0 insertions, 0 deletions