The source project of this merge request has been removed.
Fix issues after librime 1.12.0 upgrade
One of the patches came upstream. The other one was written by myself using [1] as a reference.
Unfortunately I cannot upstream the patch as the fcitx-rime repository has been archived.