Skip to content
Commit 76e99d8f authored by Adam Williamson's avatar Adam Williamson Committed by Aleix Pol Gonzalez
Browse files

fwupd: do fwupd_client_connect before setting user agent



Since fwupd 1.8.11, setting user agent before doing anything else
causes an error, because the daemon version is not yet set and
the user agent setting function now errors out if that's the
case (previously it set part of the user agent string as NULL,
which was bad and apparently confused LVFS). gnome-software does
client_connect (well, it uses the async version) before setting
the user agent, so let's try that (moving it from happening just
*after* setting the user agent).

Signed-off-by: default avatarAdam Williamson <awilliam@redhat.com>


(cherry picked from commit 2b9d145a)
parent dfa99d53
Pipeline #337911 passed with stage
in 2 minutes and 22 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment